/* ==== CSS RESET & BASE ==== */
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,
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 {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #173347;
  background-color: #F5F5F3;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #43849B;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #173347;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.25em;
}
button {
  font-family: inherit;
  font-size: 16px;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #173347;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2.2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
p, li {
  font-size: 1rem;
  color: #173347;
}
strong, b {
  font-weight: 900;
  color: #43849B;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  border-bottom: 2px solid #E5E9EC;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 15;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  max-height: 52px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}
.main-nav a {
  color: #173347;
  padding: 7px 0 7px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #43849B;
  text-decoration: none;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #43849B;
  color: #fff;
  padding: 13px 32px;
  border-radius: 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(67, 132, 155, 0.15);
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  border: none;
  margin-left: 12px;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #173347;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 24px rgba(23, 51, 71, 0.14);
}
.mobile-menu-toggle {
  display: none;
  background: #43849B;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2.2rem;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  z-index: 20;
  border: none;
  box-shadow: 0 4px 15px rgba(67, 132, 155, 0.12);
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #173347;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #173347;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.78,0.13,0.15,0.86);
  z-index: 150;
  box-shadow: -8px 0 32px rgba(23,51,71,0.20);
  padding: 36px 28px 16px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 24px;
  margin-left: auto;
  padding: 4px;
  border-radius: 50%;
  border: none;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #43849B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 12px 0;
  border-bottom: 2px solid rgba(255,255,255,0.07);
  border-radius: 0;
  transition: color 0.17s, background 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #43849B;
}
.mobile-menu[aria-hidden="true"] {
  display: none;
}

/* Hamburger hidden on desktop */
@media (max-width: 1023px) {
  .main-nav {display: none;}
  .cta-btn {margin-left: 0;}
  .mobile-menu-toggle {display: flex;}
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* ==== HERO SECTIONS ==== */
.hero {
  background: #173347;
  color: #fff;
  padding: 70px 0 56px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero h1, .hero h2 {
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 34px;
  color: #F5F5F3;
}
.hero .cta-btn {
  background: #F5F5F3;
  color: #173347;
  font-weight: 900;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #43849B;
  color: #fff;
}

/* ==== SECTIONS & FLEX CONTAINERS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.cta {
  background: #43849B;
  color: #fff;
  padding: 60px 0 48px 0;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #fff;
  color: #43849B;
  font-weight: 900;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #173347;
  color: #fff;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(23,51,71,0.07);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px rgba(67,132,155,0.16);
  transform: translateY(-5px) scale(1.03);
  z-index: 3;
}

/* ==== HERO QUICK STEPS ==== */
.quick-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  font-weight: 700;
}
.quick-steps li {
  background: #F5F5F3;
  color: #173347;
  border-left: 4px solid #43849B;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 6px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==== FEATURE GRID SECTIONS ==== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(67, 132, 155, 0.10);
  padding: 26px 22px 20px 22px;
  min-width: 210px;
  flex: 1 1 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, transform 0.18s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px rgba(67,132,155,0.18);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item h3 {
  margin-bottom: 8px;
}

/* ==== PROJECT METRICS GRID ==== */
.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 20px;
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(67, 132, 155, 0.10);
  min-width: 120px;
  min-height: 80px;
  margin-bottom: 20px;
}
.metric strong {
  font-size: 2.1rem;
  color: #43849B;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.metric p {
  font-size: 1rem;
  color: #173347;
  text-align: center;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #173347;
  box-shadow: 0 2px 14px rgba(23,51,71,0.10);
  border-radius: 15px;
  padding: 28px 30px 22px 30px;
  font-style: italic;
  min-width: 256px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
}
.testimonial-card p {
  color: #173347;
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: #43849B;
  font-style: normal;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card::before {
  content: '“';
  color: #43849B;
  font-size: 2.8rem;
  position: absolute;
  left: 12px;
  top: 18px;
  font-weight: 900;
}

/* ==== PROJECT CARDS ==== */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.project-card {
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(23,51,71,0.09);
  background: #fff;
  flex: 1 1 260px;
  min-width: 250px;
  padding: 32px 22px 13px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
  position: relative;
}
.project-card:hover, .project-card:focus-within {
  box-shadow: 0 8px 23px rgba(67, 132, 155, 0.13);
  transform: translateY(-5px) scale(1.03);
  z-index: 2;
}

/* ==== FAQ ACCORDION ==== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(67,132,155,0.08);
  padding: 22px 21px 13px 21px;
  transition: box-shadow 0.15s, transform 0.11s;
  margin-bottom: 16px;
}
.faq-item h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #43849B;
  margin-bottom: 7px;
  font-size: 1.09rem;
}
.faq-item p {
  font-size: 1rem;
  color: #173347;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 5px 20px rgba(23,51,71,0.11);
  transform: scale(1.02);
  z-index: 2;
}

/* ==== ADDITIONAL LAYOUTS ===== */
.process-diagram, .process-timeline, .google-map {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0 32px 0;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}
.process-steps li {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #F5F5F3;
  border-left: 5px solid #43849B;
  border-radius: 8px;
  padding: 10px 16px 10px 20px;
  margin-bottom: 10px;
}
.process-steps img {
  height: 48px;
  width: 48px;
}

.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.office-hours ul {
  margin-top: 14px;
  margin-bottom: 12px;
}
.support-info {
  background: #F5F5F3;
  border-left: 4px solid #43849B;
  border-radius: 6px;
  padding: 15px 18px;
}

.thank-you .next-steps-info ul {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* ==== BUTTONS & INTERACTIONS ==== */
.link-btn {
  display: inline-block;
  background: transparent;
  color: #43849B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border: 2px solid #43849B;
  padding: 10px 22px;
  border-radius: 26px;
  transition: background 0.19s, color 0.17s;
  margin-top: 9px;
}
.link-btn:hover, .link-btn:focus {
  background: #43849B;
  color: #fff;
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #173347;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 70px;
  border-top: 4px solid #43849B;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid rgba(255,255,255,0.09);
  border-radius: 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #43849B;
}
.contact-info p{
  color: #F5F5F3;
}
.contact-info {
  color: #F5F5F3;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-top: 14px;
}

/* ==== LEGAL & TEXT SECTIONS ==== */
.legal {
  background: #F5F5F3;
}
.legal .text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(23,51,71,0.05);
  padding: 32px 28px 20px 28px;
  margin-bottom: 24px;
}
.legal ul {
  margin-top: 14px;
  margin-bottom: 12px;
}
.legal li {
  margin-bottom: 9px;
}


/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  background: #173347;
  color: #fff;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  box-shadow: 0 -6px 36px rgba(23, 51, 71, 0.35);
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(0.78,0.13,0.15,0.86);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  flex: 2 1 220px;
  margin-right: 10px;
  color: #fff;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  background: #43849B;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 11px 22px;
  font-size: 1rem;
  margin-left: 0;
  transition: background 0.20s, box-shadow 0.17s;
  box-shadow: 0 2px 8px rgba(67, 132, 155, 0.11);
}
.cookie-btn.settings {
  background: #fff;
  color: #43849B;
  border: 2px solid #43849B;
}
.cookie-btn.reject {
  background: #F5F5F3;
  color: #173347;
  border: 2px solid #173347;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #173347;
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,51,71,0.35);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal {
  background: #fff;
  color: #173347;
  border-radius: 20px;
  box-shadow: 0 8px 42px rgba(67, 132, 155, 0.23);
  padding: 40px 24px 30px 24px;
  max-width: 440px;
  width: 93vw;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  color: #43849B;
  font-size: 1.45rem;
  margin-bottom: 18px;
  font-weight: 900;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  font-size: 2rem;
  color: #43849B;
  border: none;
  border-radius: 50%;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #F5F5F3;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 0;
}
.cookie-modal .toggle {
  position: relative;
  width: 38px;
  height: 22px;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 38px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
}
.cookie-modal .toggle span {
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 22px;
  background: #F5F5F3;
  border-radius: 20px;
  transition: background 0.17s;
}
.cookie-modal .toggle input:checked + span {
  background: #43849B;
}
.cookie-modal .toggle span::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-modal .toggle input:checked + span::before {
  left: 19px;
}
.cookie-modal .cookie-description {
  font-size: 0.96rem;
  color: #173347;
  margin-left: 8px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-actions {
  margin-top: 20px;
  gap: 16px;
}
.cookie-modal .cookie-actions button {
  min-width: 100px;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1023px) {
  .container {
    padding: 0 12px;
  }
  .main-nav {
    display: none;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .card, .project-card, .testimonial-card, .feature-item {
    min-width: 90vw;
    width: 98vw;
    max-width: 99vw;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, section {
    padding: 25px 0 25px 0;
    margin-bottom: 30px;
  }
  .content-wrapper {
    padding-left: 0; padding-right: 0;
  }
  .features-grid, .metrics-grid, .project-cards, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid, .project-cards {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .process-steps li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }
  .footer-nav, .footer .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 0.97rem;
    padding: 12px 7px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.13rem; }
  .metric strong, .project-card h3 {
    font-size: 1.1rem;
  }
  .feature-item, .testimonial-card, .card, .project-card {
    padding: 14px 9px 8px 12px;
  }
  .container { padding: 0 4px; }
  .cookie-modal {
    padding: 18px 5px 16px 5px;
  }
}

/* ==== MODERN BOLD GEOMETRIC EFFECTS ==== */
.feature-item, .card, .testimonial-card, .project-card, .metric {
  border-radius: 18px 32px 18px 32px;
  border: 2px solid #E5E9EC;
  box-shadow: 0 6px 18px rgba(67,132,155,0.03);
  overflow: hidden;
}

.cta-btn, .link-btn, .cookie-btn {
  box-shadow: 0 3px 18px rgba(23,51,71,0.09);
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.cta-btn, .link-btn, .cookie-btn {
  transition: background 0.19s, color 0.15s, transform 0.14s, box-shadow 0.16s;
}
.card:active, .project-card:active, .feature-item:active, .testimonial-card:active {
  transform: translateY(2px) scale(0.99);
  box-shadow: 0 2px 8px rgba(23,51,71,0.06);
}
.faq-item:active {
  transform: scale(0.99);
}

/* ===== CUSTOM GEOMETRIC DECOR (Optional) ===== */
.card::after, .project-card::after, .testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 48px;
  height: 48px;
  background: #E5E9EC;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
  filter: blur(1px);
}

/* ============= END ============= */
