/* ==================================================================
   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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F6F8;
  color: #2C3E50;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol, ul {
  list-style: none;
}
a {
  color: #2980B9;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #176094;
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::-webkit-input-placeholder { color: #7B8A97; }
::-moz-placeholder { color: #7B8A97; }
:-ms-input-placeholder { color: #7B8A97; }
::placeholder { color: #7B8A97; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Typography scale */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2980B9;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
p, ul, ol, li {
  font-size: 1rem;
  color: #2C3E50;
}
strong {
  font-weight: 700;
}

/* ==================================================================
   HEADER & NAVIGATION
   ================================================================== */
header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(44,62,80,0.05);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2C3E50;
  font-weight: 600;
  padding: 8px 0;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2980B9;
}
.btn-primary {
  background: #2980B9;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 24px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(41,128,185,0.12);
  transition: background .2s, transform .2s, box-shadow .2s;
  display: inline-block;
  cursor: pointer;
  margin-left: 32px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #176094;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(41,128,185,0.22);
}

/* BURGER MENU STYLES */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #2980B9;
  background: none;
  border: none;
  margin-left: 24px;
  z-index: 210;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #176094;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(44,62,80,0.12);
  z-index: 9999;
  padding: 32px 24px 24px 24px;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.8,0,.2,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #2980B9;
  background: none;
  border: none;
  margin-bottom: 20px;
  transition: color .2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #176094;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.125rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2C3E50;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #F4F6F8;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #2980B9;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
  .btn-primary {
    margin-left: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Overlay behind menu for modal feel (optional, not required by structure)
.mobile-menu.open:before {
  content: '';
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(44,62,80,0.28);
  z-index: -1;
}
*/

/* ==================================================================
   LAYOUT & SECTION PATTERNS
   ================================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(41,128,185,0.07);
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid, .service-categories, .case-studies, .case-study-list, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F4F6F8;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,62,80,.07);
  padding: 24px 22px 20px 22px;
  flex: 1 1 240px;
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow .2s, transform .2s;
}
.feature-item img {
  width: 42px;
  height: 42px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(41,128,185,0.13);
  transform: translateY(-6px) scale(1.025);
}

.service-detail, .case-study {
  background: #F4F6F8;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,62,80,.07);
  padding: 24px 22px 20px 22px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}
.service-detail:hover, .case-study:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.11);
  transform: translateY(-4px) scale(1.022);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.10);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
}

.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: #F4F6F8;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(41,128,185,0.10);
  margin-bottom: 20px;
  flex-direction: column;
  position: relative;
  min-width: 260px;
  max-width: 640px;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card p {
  color: #222b35;
  font-size: 1.06rem;
}
.testimonial-card span {
  color: #2C3E50;
  font-size: 0.98rem;
  font-style: italic;
  margin-top: 10px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(41,128,185,0.14);
  transform: translateY(-6px) scale(1.03);
}

.cta-section {
  background: #2980B9;
  color: #fff;
  padding: 50px 20px;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 6px 32px rgba(41,128,185,0.14);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-section h2,
.cta-section p,
.cta-section a {
  color: #fff;
}
.cta-section .btn-primary {
  background: #fff;
  color: #2980B9 !important;
  margin-left: 0;
}
.cta-section .btn-primary:hover {
  color: #fff !important;
  background: #176094;
}

.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-post-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(44,62,80,0.09);
  padding: 22px 18px 20px 22px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s;
}
.blog-post-list article:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.13);
  transform: translateY(-4px) scale(1.015);
}
.blog-link {
  color: #2980B9;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
}
/* Featured article list */
.featured-articles {
  background: #F4F6F8;
  border-radius: 12px;
  padding: 16px 16px 12px 20px;
  margin-top: 6px;
}
.featured-articles ul {
  padding-left: 0;
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.featured-articles li a {
  color: #2C3E50;
  font-size: 1rem;
}
.featured-articles li a:hover {
  color: #2980B9;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F4F6F8;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  transition: background .15s, box-shadow .2s;
  box-shadow: 0 1px 4px rgba(44,62,80,0.07);
}
.footer-social a:hover {
  background: #e4edf5;
  box-shadow: 0 2px 14px rgba(41,128,185,0.18);
}

/* ================================================================== 
   FOOTER
   ================================================================== */
footer {
  background: #2C3E50;
  color: #fff;
  padding: 54px 0 36px 0;
  margin-top: 40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -4px 38px rgba(44,62,80,.15);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand img {
  width: 62px;
  height: auto;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01rem;
  font-weight: 500;
  transition: color .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2980B9;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px 0;
}
.footer-contact li {
  font-size: 1rem;
  color: #F4F6F8;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  filter: grayscale(0.7) brightness(1.1);
  opacity: 0.8;
}

/* ==================================================================
   FORMATTING MISC COMPONENTS
   ================================================================== */
.team-preview, .founder-highlight, .why-choose-us, .working-principles, .local-market-insights, .solution-overview, .map-location, .next-steps-info {
  background: #F4F6F8;
  border-radius: 12px;
  padding: 16px 20px 10px 20px;
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #2C3E50;
}
.next-steps-info ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Service / Process lists */
.service-list, .method-list, .process-list, .solution-overview ul, .local-market-insights ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.service-list li, .method-list li, .process-list li, .solution-overview li, .local-market-insights li {
  padding-left: 20px;
  position: relative;
  font-size: 1.05rem;
}
.service-list li:before,
.method-list li:before,
.process-list li:before,
.solution-overview li:before,
.local-market-insights li:before {
  content: '\2022';
  color: #2980B9;
  font-size: 1.3em;
  left: 0;
  position: absolute;
  top: 1px;
}

/* Misc */
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul {
  margin-bottom: 0;
}

.contact-details ul {
  gap: 12px;
}
.contact-details li {
  line-height: 1.6;
}

/* ==================================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12000;
  background: #fff;
  color: #2C3E50;
  box-shadow: 0 -2px 32px rgba(41,128,185,0.13);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  animation: banner-slidein .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes banner-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 20px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  margin: 0 4px;
  transition: background .17s, color .17s, box-shadow .17s;
}
.cookie-banner .accept {
  background: #2980B9;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #176094;
}
.cookie-banner .reject {
  background: #fff;
  color: #2C3E50;
  border: 1px solid #2980B9;
}
.cookie-banner .reject:hover {
  background: #F4F6F8;
}
.cookie-banner .settings {
  background: #F4F6F8;
  color: #2980B9;
  border: 1px solid #2980B9;
}
.cookie-banner .settings:hover {
  background: #e5edf5;
  color: #176094;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,62,80,0.32);
  z-index: 13001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 92vw;
  box-shadow: 0 8px 42px rgba(41,128,185,0.17);
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1rem;
  position: relative;
  animation: modal-in .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modal-in {
  from { transform: translateY(40px) scale(.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2C3E50;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F4F6F8;
  border-radius: 10px;
  padding: 9px 14px;
}
.cookie-category label {
  font-weight: 500;
  color: #2C3E50;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #2980B9;
  margin-right: 4px;
}
.cookie-category .essential {
  color: #7B8A97;
  font-size: 0.98rem;
  margin-left: auto;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-save {
  background: #2980B9;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: background .15s;
}
.cookie-modal .cookie-save:hover {
  background: #176094;
}
.cookie-modal .cookie-cancel {
  background: #fff;
  color: #2C3E50;
  border: 1px solid #2980B9;
  padding: 10px 22px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.cookie-modal .cookie-cancel:hover {
  background: #F4F6F8;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 16px;
  right: 17px;
  background: none;
  color: #2980B9;
  border: none;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0;
  transition: color .15s;
}
.cookie-modal .cookie-close-modal:hover {
  color: #176094;
}

/* ==================================================================
   MEDIA QUERIES - RESPONSIVE
   ================================================================== */
@media (max-width: 1020px) {
  .feature-grid,
  .service-categories,
  .case-studies,
  .case-study-list,
  .blog-post-list,
  .footer .container {
    gap: 16px;
  }
  .feature-item, .service-detail, .case-study, .blog-post-list article {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  header .container {
    height: 62px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 32px 10px 22px 10px;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.23rem;
    margin-bottom: 16px;
  }
  .section, .cta-section {
    padding: 22px 7px;
    margin-bottom: 28px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .service-categories, .case-studies, .case-study-list, .blog-post-list {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    align-items: flex-start;
    gap: 12px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .cookie-modal {
    padding: 23px 8px 14px 8px;
    min-width: 0;
  }
  .cookie-modal h3 {
    font-size: 1.02rem;
  }
  .cookie-banner {
    padding: 16px 5px;
  }
  .btn-primary, .cookie-banner button, .cookie-modal .cookie-save, .cookie-modal .cookie-cancel {
    font-size: .97rem;
    padding: 7px 14px;
  }
  .footer .container {
    padding-right: 4px;
    padding-left: 4px;
  }
}

/* ==================================================================
   ACCESSIBILITY
   ================================================================== */
:focus {
  outline: 2px solid #2980B9;
  outline-offset: 2px;
}

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

/* ==================================================================
   PRINT TWEAKS
   ================================================================== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
}

/* ==================================================================
   END OF FILE
   ================================================================== */
