/* === CSS RESET & BASE STYLES === */
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1A3144;
  background: linear-gradient(135deg, #F1FAFF 0%, #A6C1D4 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: #1A3144;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #2b6690;
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  margin: 0 0 16px 24px;
}
strong { font-weight: 700; }

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3144;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.75rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.325rem; margin-bottom: 10px; }
h4 { font-size: 1rem; margin-bottom: 8px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

p, li, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #1A3144;
}

blockquote {
  border-left: 4px solid #A6C1D4;
  padding-left: 24px;
  margin: 32px 0 32px 0;
  font-size: 1.125rem;
  color: #1A3144;
  background: #F1FAFF;
  border-radius: 6px;
}


/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1170px;
  padding-right: 20px;
  padding-left: 20px;
  margin-left: auto;
  margin-right: auto;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(26,49,68,0.05);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.brand-logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: none;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.main-nav a:focus, .main-nav a:hover {
  background: #A6C1D4;
  color: #1A3144;
}
.cta-btn {
  background: linear-gradient(90deg, #1A3144 0%, #A6C1D4 100%);
  color: #fff !important;
  padding: 10px 22px;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(26,49,68,0.07);
  cursor: pointer;
  display: inline-block;
}
.cta-btn.secondary {
  background: linear-gradient(90deg,#A6C1D4 0%, #1A3144 100%);
  color: #fff !important;
}
.cta-btn:focus, .cta-btn:hover {
  background: #1A3144;
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 12px 0 rgba(26,49,68,0.13);
}

/* === MOBILE NAV === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #1A3144;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A6C1D4;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s;
  box-shadow: 0 4px 24px #1A314419;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #1A3144;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 12px 24px 0 0;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #A6C1D4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #1A3144;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #A6C1D4;
  color: #1A3144;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === SECTIONS / LAYOUT === */
.section,
.hero,
.features,
.services-preview,
.cta,
.about-intro,
.brand-promise,
.projects,
.process,
.faq,
.map,
.cookie-policy,
.privacy-policy,
.gdpr,
.terms,
.thank-you,
.contact-info,
.contact-form,
.testimonials-preview,
.testimonials,
.review-cta {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
}

@media (max-width: 700px) {
  .section, .hero, .features, .services-preview, .cta, .about-intro, .brand-promise, .projects, .process, .faq, .map, .cookie-policy, .privacy-policy, .gdpr, .terms, .thank-you, .contact-info, .contact-form, .testimonials-preview, .testimonials, .review-cta {
    margin-bottom: 32px;
    padding: 26px 8px 32px 8px;
  }
}

/* FLEXBOX CONTENT PATTERNS */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; flex: 1 1 320px; min-width: 260px; max-width: 360px; background: #fff; border-radius: 18px; box-shadow: 0 4px 28px 0 rgba(33,64,89,0.07); padding: 26px 20px; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.16s; }
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(33,64,89,0.10);
  transform: translateY(-3px) scale(1.012);
}
.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: 24px 28px; background: #F1FAFF; border-radius: 18px; box-shadow: 0 2px 12px 0 rgba(33,64,89,0.06); margin-bottom: 24px; min-width: 230px; max-width: 560px; color: #0B2333; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 1024px) {
  .content-grid, .card-container { flex-wrap: wrap; gap: 18px; }
  .testimonial-card { max-width: 100%; }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid { flex-direction: column; gap: 16px !important; }
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* === GENERAL COMPONENTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(33,64,89,0.10);
  padding: 22px 24px;
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature:hover {
  box-shadow: 0 8px 36px 0 rgba(33,64,89,0.13);
  transform: translateY(-3px) scale(1.015);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(96deg,#A6C1D4 0%, #F1FAFF 72%);
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(33,64,89,0.05);
  text-align: center;
}
.cta h2 { color: #1A3144; }
.cta-btn { margin: 12px 4px 0 4px; }

/* === TESTIMONIALS & REVIEWS === */
.testimonials-preview .testimonial-card,
.testimonials .testimonial-card {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(33,64,89,0.07);
  color: #1A3144;
  border: 1px solid #E0EBF2;
}
.testimonial-card p {
  font-size: 1.17rem;
  color: #1A3144;
  margin-bottom: 8px;
  font-weight: 400;
}
.testimonial-card span strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}
.stars {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
}
.stars img {
  width: 18px;
  height: 18px;
}

/* === USP LIST === */
.usp-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 15px;
}
.usp-list ul li {
  position: relative;
  padding-left: 19px;
}
.usp-list ul li:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.76em;
  width: 8px;
  height: 8px;
  background: #1A3144;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* === PROCESS FLOW === */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.process-flow li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(33,64,89,0.09);
  padding: 14px 24px;
  font-weight: 500;
}
.process-flow img {
  width: 38px;
  height: 38px;
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 6px 0 rgba(33,64,89,0.06);
  padding: 18px 22px;
}
.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', sans-serif;
}

/* === PROJECT HIGHLISTS === */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.project-highlight {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(33,64,89,0.07);
  padding: 22px 26px;
  margin-bottom: 12px;
}
.outcome-summary {
  font-size: 0.98rem;
  color: #1A3144;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* === FOOTER === */
footer {
  background: #1A3144;
  color: #fff;
  padding: 32px 0 22px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-branding img {
  height: 48px;
  margin-bottom: 12px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #fff;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.19s;
}
.footer-menu a:focus, .footer-menu a:hover {
  color: #A6C1D4;
}
.company-info p, .company-info a {
  color: #fff;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
}
.company-info img {
  width: 16px; height: 16px; margin-right: 7px;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .footer-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 700px) {
  .feature, .project-highlight, .faq-item, .card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 10px;
  }
  .feature-grid, .content-grid, .card-container {
    gap: 15px !important;
  }
  .testimonials .content-wrapper, .testimonials-preview .content-wrapper {
    gap: 14px;
  }
}

/* === BUTTONS / FORMS === */
button, .cta-btn, input[type="submit"] {
  outline: none;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.23s, color 0.13s, box-shadow 0.18s, transform 0.16s;
}
input, textarea {
  border: 1px solid #A6C1D4;
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 14px;
  width: 100%;
  margin-bottom: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
}
input:focus, textarea:focus {
  border-color: #1A3144;
  box-shadow: 0 2px 6px #A6C1D433;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 510;
  background: #fff;
  color: #1A3144;
  border-top: 2px solid #A6C1D4;
  box-shadow: 0 -2px 24px 0 #1A31441A;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 26px 18px 22px 18px;
  gap: 20px;
  animation: cookieSlideUp 0.6s 0.2s both;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity:0; } to { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  flex: 1 1 230px;
  margin-right: 24px;
  font-size: 1.02rem;
  color: #1A3144;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: none;
  background: #1A3144;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 0;
  transition: background 0.22s, transform 0.15s, box-shadow 0.13s;
  box-shadow: 0 2px 14px rgba(33,64,89,0.09);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #15425B;
  transform: translateY(-1px) scale(1.01);
}
.cookie-btn.reject {
  background: #A6C1D4;
  color: #1A3144;
}
.cookie-btn.reject:focus, .cookie-btn.reject:hover {
  background: #80A2BF;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #1A3144;
  border: 1px solid #A6C1D4;
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: #F1FAFF;
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px 16px 10px;
    gap: 16px;
  }
  .cookie-consent-banner p {
    margin-right: 0;
    font-size: 0.97rem;
  }
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 99999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,49,68, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s both;
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px 30px 26px 30px;
  box-shadow: 0 8px 44px 0 rgba(26,49,68,0.21);
  max-width: 430px;
  width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3144;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1FAFF;
  padding: 12px 16px;
  border-radius: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #1A3144;
  font-weight: 600;
}
.cookie-toggle {
  width: 40px; height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input { display: none; }
.cookie-slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #A6C1D4;
  border-radius: 30px;
  transition: background 0.2s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #1A3144;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #1A3144;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 11;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #A6C1D4;
}

@media (max-width: 700px) {
  .cookie-modal {
    padding: 18px 8px 10px 10px;
    max-width: 97vw;
  }
}

/* === THANK YOU & SPECIAL SCREENS === */
.thank-you {
  text-align: center;
  background: linear-gradient(96deg,#A6C1D4 0%, #F1FAFF 70%);
  border-radius: 20px;
}

/* === UTILITY CLASSES === */
.text-center { text-align:center; }
.mb-20 { margin-bottom:20px !important; }

/* === ANIMATION MICRO-INTERACTIONS === */
.cta-btn, .feature, .card, .testimonial-card, .project-highlight {
  transition: box-shadow 0.2s, background 0.19s, color 0.14s, transform 0.18s;
}
.cta-btn:active, .feature:active, .card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* === A11Y FOCUS RING === */
:focus-visible {
  outline: 2px solid #A6C1D4;
  outline-offset: 2px;
}

/* === COLOR UTILS === */
.bg-primary { background: #1A3144; color: #fff; }
.bg-secondary { background: #A6C1D4; color: #1A3144; }
.bg-accent { background: #F1FAFF; color: #1A3144; }

/* === OVERRIDES FOR HTML LAYOUTS & MARGIN GAP ENFORCEMENTS === */
.features, .services-preview, .about-intro, .brand-promise, .projects, .process, .faq, .cookie-policy, .privacy-policy, .gdpr, .terms { margin-bottom:60px; }
.features .feature, .services-preview .feature { margin-bottom:20px; }
.project-list .project-highlight { margin-bottom:20px; }
.project-highlight, .faq-item, .feature, .card, .testimonial-card { margin-bottom:20px; }

/* === PRINT HIDE FOR INTERACTIVE === */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
}
