/* RESET & NORMALIZE (Meyer Reset + enhancements) */
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, strike, 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 { box-sizing: border-box; min-height: 100%; } 
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #172846;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #14417B;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus { color: #F6C800; text-decoration: underline; }
ul, ol { padding-left: 24px; }

/* Brand Colors */
:root {
  --primary: #14417B;
  --secondary: #F6C800;
  --accent: #FFFFFF;
  --neu-grey: #F3F6F9;
  --fun-blue: #1976D2;
  --orange: #FFA726;
  --red: #E53935;
  --green: #43A047;
  --text: #172846;
}

/* Typography */
h1, .hero h1 {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 18px;
  line-height: 1.18;
}
h2 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--fun-blue);
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #172846;
}
strong, b {
  color: var(--primary);
  font-weight: 700;
}
blockquote {
  border-left: 5px solid var(--secondary);
  background: #FFFBE3;
  padding: 14px 20px;
  margin: 14px 0 6px 0;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.04rem;
  color: var(--orange);
}
cite {
  font-style: italic;
  font-size: 0.98rem;
  display: block;
  margin-bottom: 10px;
}

/* Container Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section { padding: 32px 7px; }
}

/* Section Utilities, Flex Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(20,65,123,0.11);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.13s, box-shadow 0.14s;
}
.card:hover {
  transform: translateY(-4px) scale(1.017);
  box-shadow: 0 6px 32px 0 rgba(20,65,123,0.14);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 20px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  background: #fcfdff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(20,65,123,0.10);
  border: 2px solid #F6C80020;
  transition: box-shadow 0.12s;
  position: relative;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #0e223b;
  margin-bottom: 0px;
}
.testimonial-card strong {
  color: var(--green);
  font-size: 1.04rem;
  font-family: 'Oswald', Arial, sans-serif;
}
.star-rating {
  display: flex;
  gap: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 210px;
  background: #f7fbff;
  border-radius: 13px;
  padding: 18px 16px 16px 16px;
  box-shadow: 0 2px 10px 0 rgba(20,65,123,0.08);
  margin-bottom: 20px;
  border: 2px solid #F6C80011;
  transition: box-shadow 0.12s, background 0.13s;
  min-width: 190px;
  position: relative;
}
.feature-item img { width: 48px; height: 48px; }
.feature-item h3 { margin-top: 5px; font-size: 1.1rem; color: #1976D2; }
.feature-item:hover {
  background: #FFF9E5;
  box-shadow: 0 6px 24px 0 rgba(246,200,0,0.18);
}

/* HERO Section */
.hero {
  background: linear-gradient(90deg, #F6C800 30%, #fff 100%);
  min-height: 330px;
  display: flex;
  align-items: center;
  flex-direction: row;
  margin-bottom: 60px;
  position: relative;
  border-bottom-left-radius: 38px;
  border-bottom-right-radius: 38px;
  overflow: hidden;
  box-shadow: 0 4px 32px -10px #d3e3fc;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  color: #14417B;
  text-shadow: 0 2px 0 #fff2;
}
.hero p {
  font-size: 1.18rem;
  color: #2c3a4d;
  margin-bottom: 8px;
}

/* SECTION HEADINGS & CTAs */
.cta-btn,
.cta-btn.secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 28px;
  background: var(--primary);
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  border: none;
  box-shadow: 0 3px 16px 0 rgba(20,65,123,0.15);
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, transform 0.11s, box-shadow 0.15s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.04);
  box-shadow: 0 4px 22px 0 #ffe082bb;
}
.cta-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--primary);
  color: #fff;
}

/* NAVIGATION & HEADER */
header {
  background: var(--primary);
  color: #FFF;
  width: 100%;
  box-shadow: 0 0 18px -4px #12356e13;
  padding: 0;
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  min-height: 70px;
}
header img { max-height: 50px; margin-right: 18px; }
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.7px;
  transition: color 0.18s;
  padding: 4px 0;
}
header nav a:hover, header nav a:focus { color: var(--secondary); text-decoration: underline; }
header .cta-btn {
  margin-left: 26px;
}
/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.2rem;
  margin-left: 14px;
  cursor: pointer;
  transition: color 0.17s, transform 0.13s;
  z-index: 2102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { color: #fff; transform: scale(1.13); }

/* MOBILE NAVIGATION */
@media (max-width: 1000px) {
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #172846ee;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.70,0,0.3,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 14px 22px 4px 10px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s, transform 0.11s;
  outline: 0;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--secondary); transform: scale(1.17); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 60px 0 0 40px;
  font-family: 'Oswald', Arial, sans-serif;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  letter-spacing: 1px;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
  font-weight: 500;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--secondary);
  color: #14417B;
  text-decoration: none;
}

/* Responsive (mobile menu fixes) */
@media (max-width: 700px) {
  .mobile-nav { margin: 52px 0 0 16px; }
}

/* FOOTER */
footer {
  background: #102b51;
  color: #fff;
  padding: 0;
  width: 100%;
  border-top: 5px solid var(--secondary);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 18px;
  gap: 30px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-info p, .footer-info a {
  color: #fff;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-info a:hover { color: var(--secondary); }

@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 8px;
  }
}

/* CARDS & HIGHLIGHTS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
.card-highlight {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 16px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 0px 10px 0 #F6C80022;
}

/* Animated/fun accent lines */
@keyframes bouncepop { 0%{transform:scale(1)} 40%{transform:scale(1.09)} 70%{transform:scale(0.96)} 100%{transform:scale(1)} }
.cta-btn, .cta-btn.secondary {
  animation: bouncepop 0.8s cubic-bezier(.5,2,0.8,1.4) 1;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  animation: bouncepop 0.7s cubic-bezier(.5,2,0.8,1.4) 1;
}

/* "Playful Dynamic" Decorative Dots (optional) */
.card:before, .feature-item:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; left: -16px;
  width: 18px; height: 18px;
  background: var(--secondary);
  border-radius: 100%;
  box-shadow: 0 4px 8px #F6C80022;
  z-index: 1;
  opacity: 0.27;
  pointer-events: none;
  animation: playfuldot-float 2.7s infinite alternate ease-in-out;
}
@keyframes playfuldot-float {
  0%   { transform: translateY(0); }
  60%  { transform: translateY(4px) scale(1.18); opacity: 0.18; }
  100% { transform: translateY(-4px); opacity:0.32; }
}

/* Playful, fun shadow on hover */
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px 0 #1976D222;
}

/* MACHINE CATEGORY GRID (special dynamic style) */
.machine-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 0 0;
}
.category-item {
  background: #1976D2;
  color: #fff;
  border-radius: 999px;
  padding: 11px 26px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  box-shadow: 0 2px 16px #1976D215;
  margin-bottom: 14px;
  animation: bouncepop 0.45s cubic-bezier(.7,1.7,.1,1.9) 1;
  transition: background 0.15s, color 0.14s;
}
.category-item:hover,
.category-item:focus { background: var(--secondary); color: var(--primary);}

/* CASE-STUDIES and PROJECTS */
.case-study-summaries {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.case-study {
  flex: 1 1 180px;
  background: #F3F6F9;
  border-radius: 14px;
  padding: 16px 16px 12px 16px;
  box-shadow: 0 2px 8px #14417B11;
  min-width: 200px;
  margin-bottom: 20px;
}
.case-study h3 {
  color: var(--primary);
  font-size: 1.05rem;
}
.client-logos {
  display: flex;
  gap: 22px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.client-logos img { filter: grayscale(0.5); opacity: 0.85; height: 34px; }
.client-logos img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.09);
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 14px 0 0 0;
}
.faq-item {
  background: #F3F6F9;
  border-radius: 11px;
  padding: 16px 18px;
  box-shadow: 0 2px 6px 0 #14417B0e;
  position: relative;
  margin-bottom: 10px;
}
.faq-item h3 {
  font-size: 1.06rem;
  color: var(--fun-blue);
  cursor: pointer;
  margin-bottom: 5px;
}
.faq-answer {
  color: #14417B;
  font-size: 0.99rem;
  margin-top: 4px;
  display: block;
}
.faq-item.active {
  background: #FFFCE7;
  box-shadow: 0 4px 14px #F6C80024;
}

/* USP & TRUST ELEMENTS */
.usp-list, .usp-highlights, .trust-factors {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 12px 0;
}
.usp-highlights p, .trust-factors p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  color: #1976D2;
}
.usp-highlights img, .trust-factors img { height: 26px; }

/* CONTACT/THANK YOU Carving */
.thankyou-message {
  background: #E6F2FB;
  padding: 34px 18px 24px 18px;
  border-radius: 20px;
  box-shadow: 0 2px 20px #1976D213;
  font-size: 1.08rem;
  color: #14417B;
}

.privacy-note {
  background: #FFF9E7;
  border-radius: 7px;
  font-size: 0.99rem;
  color: #5d4e02;
  box-shadow: 0 2px 6px #F6C8000f;
  padding: 10px 18px 12px 14px;
}

/* Contact List */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-details img { width: 19px; vertical-align: middle; margin-right: 4px; }
.contact-details a { color: #1976D2; }

/* Map Placeholder */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 0px;
  margin-top: 8px;
}
.map-placeholder img { width: 50px; height: 50px; }

/* OL and UL Enhancements for Playful Style */
ol, ul, .usp-list, .contact-details {
  padding-left: 26px;
  margin-bottom: 0.6rem;
}
ul > li, ol > li {
  margin-bottom: 7px;
  position: relative;
}
ul > li:before {
  content: '•';
  color: var(--secondary);
  font-weight: 800;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.17em;
}
ol > li:before { content: none; }

/* Special playful dynamic font for headings (import via @import or link in HTML) */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #14417B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 16px 18px 16px;
  z-index: 3000;
  box-shadow: 0 -8px 32px #14417B22;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: cookiebanner-in 0.55s cubic-bezier(.69,0,.75,1.37) both;
}
@keyframes cookiebanner-in { from{transform:translateY(60px); opacity:0;} to{transform:translateY(0); opacity:1;} }
.cookie-banner__text {
  flex: 1 1 240px;
  min-width: 130px;
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-btn-secondary {
  border: none;
  outline: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: 0.7px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, transform 0.11s;
  margin-left: 2px;
  margin-bottom: 2px;
}
.cookie-btn { background: var(--secondary); color: var(--primary); }
.cookie-btn:hover, .cookie-btn:focus { background: #fff; color: var(--secondary); transform: scale(1.04); }
.cookie-btn-secondary { background: #1976D2; color: #fff; }
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus { background: #fff; color: #1976D2; transform: scale(1.04); }

/* Cookie Preferences Modal (for category state) */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(22,35,68,0.82);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open { opacity: 1; pointer-events: all; }
.cookie-modal__content {
  background: #f9fbfc;
  color: #1a2449;
  border-radius: 23px;
  box-shadow: 0 8px 38px #1976D244;
  padding: 32px 26px 22px 26px;
  min-width: 340px;
  max-width: 90vw;
  position: relative;
  animation: cookie-modal-fadein 0.42s cubic-bezier(.7,0,0.25,1.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@keyframes cookie-modal-fadein { from{transform:scale(0.92); opacity:0;} to{transform:scale(1); opacity:1;} }
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1976D2;
  cursor: pointer;
  transition: color 0.16s, transform 0.13s;
  z-index: 22;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #E53935; transform: scale(1.1); }
.cookie-modal__title {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 14px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: #1a2449;
  font-weight: 500;
  margin-left: 6px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #d4dff2;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #43A047;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: #fff;
  transition: left 0.23s cubic-bezier(.41,0,.62,1.35);
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-category .cookie-toggle[disabled] {
  background: #ddd;
  cursor: not-allowed;
}
.cookie-category .cookie-toggle[disabled]:before {
  background: #ccc;
}
.cookie-category .cookie-cat-desc {
  font-size: 0.92rem;
  color: #6072a9;
  margin-left: 6px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .case-study-summaries,
  .content-grid,
  .card-container, .feature-grid {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}
@media (max-width: 760px) {
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
  h1.hero, h1, h1.hero, h2 { font-size: 1.17rem; }
  .card, .feature-item, .testimonial-card {
    padding: 18px 9px;
  }
  .case-study, .thankyou-message { padding: 18px 10px 14px 10px; }
}
@media (max-width: 620px) {
  .hero {
    padding: 24px 0 18px 0;
    border-radius: 0 0 22px 22px;
    min-height: 200px;
  }
  .hero h1 { font-size: 1.29rem; }
  .content-grid, .card-container, .case-study-summaries {
    gap: 10px;
  }
}

/* UTILITIES */
.text-section { margin-bottom: 14px; }
.text-section h2, .text-section h3 { margin-top: 11px; }
.project-highlight-quotes { margin-bottom: 12px; }

/* Hide scroll for overlays */
body.menu-open, body.modal-open {
  overflow: hidden;
}

/* General spacing between content cards */
.card-container > *, .case-study-summaries > *, .content-grid > *,
.feature-grid > *, .testimonial-card + .testimonial-card {
  margin-bottom: 20px !important;
}

/* Prevent card overlapping everywhere, no abs content positioning except decorative */
.card, .feature-item, .testimonial-card, .case-study, .category-item, .thankyou-message {
  z-index: 1;
}

/* --- End of CSS --- */
