/* ----------------------
   CSS RESET & NORMALIZE
-----------------------*/
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #181e29;
  color: #F0F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #278995;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}
::-webkit-input-placeholder { color: #b4babe; }
::-moz-placeholder { color: #b4babe; }
:-ms-input-placeholder { color: #b4babe; }
::placeholder { color: #b4babe; }

/* -------------------------------------
   BRAND / FONT / COLOR CONFIGURATIONS
----------------------------------------*/
:root {
  --color-primary: #1C2947;
  --color-secondary: #278995;
  --color-accent: #F0F7FA;
  --color-bg: #181e29;
  --color-dark: #10141c;
  --color-metal: #7a868f;
  --color-success: #52b788;
  --color-error: #e63946;
  --color-warning: #ffd166;
  --color-muted: #2a3449;
  --shadow-lg: 0 6px 32px 0 rgba(24,30,41,0.4);
  --shadow-card: 0 2px 12px 0 rgba(44,52,65,0.18);
  --radius: 8px;
  --radius-lg: 16px;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0F7FA;
  font-weight: 700;
  letter-spacing: 0.04em;
}
h1 { font-size: 2.4rem; line-height: 1.2; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.24; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; color: #F0F7FA; }
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #d3dde7;
}
strong, b {
  color: #fff;
  font-weight: 700;
}

/* ------------------------------
   SPACING / CONTAINERS / LAYOUT
-------------------------------*/
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
main > section {
  display: flex;
  justify-content: center;
}
.content-wrapper {
  width: 100%;
  background: var(--color-muted);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 24px 32px 24px;
  margin: 0 auto 24px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Nesting helpers (for dense UIs) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #232e44;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1.5px solid #394055;
  transition: box-shadow 0.22s, border 0.22s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--color-secondary);
}
.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;
  background: var(--color-accent);
  color: #222;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------------------------
   FLEXBOX-BASED SPECIAL SECTION LAYOUTS
---------------------------------------------*/
.feature-grid,
.service-grid,
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div,
.service-card,
.project-overview-block {
  flex: 1 1 240px;
  min-width: 220px;
  background: #232e44;
  border-radius: var(--radius);
  padding: 26px 20px 20px 20px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid #394055;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border 0.22s, box-shadow 0.22s;
}
.feature-grid > div:hover,
.service-card:hover,
.project-overview-block:hover {
  border: 1.5px solid var(--color-secondary);
  box-shadow: var(--shadow-lg);
}
.service-card .price {
  color: var(--color-secondary);
  font-weight: 500;
}
.project-stats ul,
.project-list ul {
  list-style: disc inside;
  margin-left: 12px;
  color: #c2cdda;
}
.project-highlights,
.text-section,
.legal-content {
  margin-top: 20px;
  margin-bottom: 0;
}
.partner-logos,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 16px;
}

/* News & Blog lists */
.news-feed,
.blog-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-feed ul,
.blog-feed ul {
  list-style: disc inside;
  margin-left: 12px;
  color: #c2cdda;
}
.news-categories,
.categories-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
  gap: 12px;
  font-size: 0.96em;
  color: #b4babe;
}
.news-categories a,
.categories-list a {
  background: #23314b;
  color: #F0F7FA;
  border-radius: 16px;
  padding: 4px 16px;
  text-decoration: none;
  transition: background 0.17s, color 0.17s;
}
.news-categories a:hover,
.categories-list a:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* -------------------------------------
   CTA BUTTON & BUTTONS
--------------------------------------*/
.cta-btn,
button,
input[type="submit"],
button.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #278995 60%, #1C2947 100%);
  color: #F0F7FA;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px 0 rgba(28,41,71,0.28);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.16s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, input[type="submit"]:hover, button.cta-btn:hover {
  color: #fff!important;
  background: linear-gradient(90deg, #1C2947 70%, #278995 100%);
  box-shadow: 0 4px 18px 0 rgba(39,137,149,0.29);
  transform: translateY(-2px) scale(1.03);
}

/* -------------------------
   NAVIGATION & HEADER
--------------------------*/
header {
  background: #121a25;
  border-bottom: 1.5px solid #223049;
  z-index: 100;
}
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 20px;
  height: 76px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}
.main-nav > a img {
  display: block;
  height: 44px;
  margin-right: 14px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  align-items: center;
  margin-left: 5px;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  color: #F0F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.88;
  padding: 7px 6px;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.19s, color 0.17s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #27899544;
  color: var(--color-secondary);
  opacity: 1;
}
.main-nav .cta-btn {
  margin-left: auto;
  margin-right: 5px;
}

/* Hamburger (hidden desktop) */
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  color: #F0F7FA;
  background: none;
  border: none;
  padding: 7px 14px 7px 14px;
  margin-left: 12px;
  z-index: 1200;
  border-radius: 5px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23314b;
  color: #278995;
}

/* -----------------
   FOOTER
------------------*/
footer {
  background: #151d29;
  color: #b4babe;
  border-top: 2px solid #223049;
  padding: 0;
}
.footer-content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0 20px 0;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-content > div, .footer-content > nav {
  flex: 1 1 170px;
  min-width: 170px;
}
.footer-content nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-content nav a {
  color: #b4babe;
  font-size: 0.97em;
  padding: 0 5px 2px 0;
  transition: color 0.18s;
}
.footer-content nav a:hover,
.footer-content nav a:focus {
  color: #278995;
}
.footer-content > div:last-child {
  color: #a0a8b8;
  font-size: 0.93em;
  margin-top: 12px;
}
.footer-content p, .footer-content address {
  color: #b6bac2;
  font-size: 0.96em;
  margin-bottom: 10px;
}

/* ---------------------
   ADDRESS & MAP
-----------------------*/
address {
  font-style: normal;
  background: #232e44;
  color: #F0F7FA;
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 18px;
  font-size: 1em;
  line-height: 1.7;
}
.map-embed {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #1C2947;
  border-radius: var(--radius);
  padding: 14px 20px;
  margin: 18px 0 0 0;
}
.map-embed img {
  max-width: 48px;
  filter: grayscale(34%) contrast(1.2);
}

/* ------------------
   LEGAL CONTENT
-------------------*/
.legal-content {
  background: #222d43;
  padding: 28px 18px 22px 18px;
  border-radius: var(--radius);
  color: #c2cdda;
  font-size: 0.99em;
  line-height: 1.76;
  margin-bottom: 10px;
}
.legal-content h2 {
  color: var(--color-accent);
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 1.23em;
  font-weight: 700;
}

/* ------------------
   SEARCH FORMS
-------------------*/
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 0;
}
.search-form input[type="search"] {
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 1em;
  border: 1px solid #2d3a53;
  background: #232e44;
  color: #d3dde7;
  min-width: 160px;
  transition: border 0.18s;
}
.search-form input[type="search"]:focus {
  outline: none;
  border: 1px solid var(--color-secondary);
  background: #29314a;
}
.search-form button {
  border-radius: 6px;
  background: var(--color-secondary);
  color: #F0F7FA;
  font-weight: 500;
  padding: 8px 20px;
  font-size: 1em;
  transition: background 0.13s, color 0.13s;
}
.search-form button:hover {
  background: #1C2947;
  color: #fff;
}

/* --------------------------
   SPECIAL SECTIONS / BADGES
---------------------------*/
.trust-badges img, .partner-logos img {
  max-width: 60px;
  min-width: 34px;
  filter: grayscale(35%) contrast(1.15) brightness(1.2);
  border-radius: 7px;
  border: 1px solid #394055;
  padding: 9px;
  background: #222d43;
  box-shadow: 0 2px 8px 0 rgba(44,52,65,0.09);
}
.privacy-note, .price {
  color: #F0F7FA;
  font-size: 0.95em;
  margin-top: 10px;
}

/* -----------
   BLOCKQUOTE
-------------*/
blockquote {
  font-style: italic;
  color: #1c2947;
  background: #ecf2f8;
  border-left: 7px solid #278995;
  padding: 16px 22px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-size: 1.05em;
}
cite {
  color: #394055;
  font-size: 0.98em;
  margin-top: 3px;
  font-style: normal;
  display: block;
}

/* -----------------------
   RESPONSIVE DESIGN
------------------------*/
@media (max-width: 1100px) {
  .container { padding: 0 10px; }
  .content-wrapper { padding: 36px 8px 24px 8px; }
  .footer-content { gap: 24px; }
}
@media (max-width: 920px) {
  .footer-content { gap: 12px; }
  .footer-content > div, .footer-content > nav { min-width: 130px; }
  .main-nav { gap: 6px; }
  .main-nav ul { gap: 12px; }
  .feature-grid, .service-grid, .partner-logos, .trust-badges, .project-list { gap: 14px; }
  .content-grid, .card-container { gap: 10px; }
}
@media (max-width: 768px) {
  .main-nav {
    flex-direction: row;
    height: auto;
    justify-content: space-between;
    gap: 10px;
    padding: 0 6px;
    min-height: 56px;
  }
  .main-nav ul { display: none; }
  .main-nav .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
    z-index: 1200;
    background: none;
  }
  .container { padding: 0 3vw; }
  .content-wrapper { padding: 21px 8px 15px 8px; }
  .feature-grid, .service-grid, .partner-logos,.trust-badges,.project-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px 0 12px 0;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .section { padding: 25px 4vw; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .container { padding: 0 1.5vw; }
  .section { padding: 14px 0.5vw; }
}

/* -------------------------
   MOBILE SLIDE-IN MENU
--------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 28, 41, 0.97);
  z-index: 2100;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.77,.21,.28,1), opacity 0.16s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.14rem;
  color: #F0F7FA;
  background: none;
  border: none;
  margin: 18px 14px 4px 0;
  padding: 7px 10px 7px 10px;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 2150;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23314b;
  color: #278995;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  background: none;
  padding: 20px 26px;
  width: 92vw;
  max-width: 410px;
  margin-top: 10px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0F7FA;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 10px 12px;
  background: #22304944;
  transition: background 0.14s, color 0.14s;
  margin-bottom: 2px;
  box-sizing: border-box;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #278995;
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* -----------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------*/
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  width: 100%;
  background: #222d43;
  color: #e4e8ec;
  box-shadow: 0 -2px 12px 0 rgba(24,30,41,0.35);
  padding: 22px 12px 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.3s, opacity 0.2s;
}
#cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
#cookie-banner p {
  margin: 0;
  color: #e4e8ec;
  font-size: 1em;
  flex: 2;
  min-width: 160px;
}
#cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  padding: 8px 25px;
  font-size: 1em;
  margin: 0;
  font-weight: 700;
  background: #278995;
  color: #fff;
  transition: background 0.16s, color 0.16s, border 0.15s;
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: #1C2947;
  color: #fff;
}
#cookie-banner .cookie-btn-secondary {
  background: #F0F7FA;
  color: #278995;
  border: 1.5px solid #394055;
}
#cookie-banner .cookie-btn-secondary:hover, #cookie-banner .cookie-btn-secondary:focus {
  background: #278995;
  color: #fff;
}

#cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  min-width: 320px;
  max-width: 97vw;
  width: 410px;
  background: #222d43;
  color: #e4e8ec;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(24,30,41,0.4);
  z-index: 3400;
  padding: 30px 20px 24px 20px;
  display: none;
}
#cookie-modal.open {
  display: block;
  animation: cookiePop 0.24s cubic-bezier(.74,.26,.32,1.32) 1;
}
@keyframes cookiePop {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
#cookie-modal h3 {
  font-size: 1.16em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
#cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
}
#cookie-modal .cookie-category label {
  font-size: 1em;
  font-weight: 600;
  margin-left: 6px;
}
#cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #278995;
  width: 17px; height: 17px;
}
#cookie-modal .cookie-category .cookie-essential {
  color: #a0fac4;
  font-size: 0.91em;
  margin-left: 16px;
  font-weight: 600;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}
#cookie-modal button {
  padding: 8px 18px;
  font-size: 1em;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #278995;
  color: #fff;
  font-weight: 700;
  border: none;
  transition: background 0.15s, color 0.15s;
}
#cookie-modal button.cookie-modal-close {
  background: #F0F7FA;
  color: #278995;
  border: 1.5px solid #394055;
}
#cookie-modal button.cookie-modal-close:hover, #cookie-modal button.cookie-modal-close:focus {
  background: #278995;
  color: #fff;
}

@media (max-width: 520px) {
  #cookie-modal {
    min-width: 90vw;
    width: 98vw;
    padding: 20px 6px 12px 6px;
  }
}

/* ---------------------------
   MISC DECORATIVE ELEMENTS
----------------------------*/
hr {
  border: none;
  border-bottom: 1px solid #394055;
  margin: 36px 0 18px 0;
}
::-webkit-scrollbar {
  width: 10px;
  background: #232e44;
}
::-webkit-scrollbar-thumb {
  background: #223049;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #278995;
}

/* -----------
   UTILITIES
------------*/
.text-section ul, .legal-content ul, .project-list ul, .project-stats ul {
  list-style: disc inside;
  margin-left: 18px;
}
.text-section ol, .legal-content ol {
  list-style: decimal inside;
  margin-left: 20px;
}
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-36 { margin-top: 36px; }
.mb-36 { margin-bottom: 36px; }

/* Form notices */
.privacy-note {
  color: #c2cdda;
  font-size: 0.96em;
}

/* 
===============
END OF CSS
===============
*/
