/* ==== CSS RESET & NORMALIZE (MOBILE-FIRST) ==== */
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;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Georgia, 'Times New Roman', Times, serif;
  background: #F2F4F8;
  color: #234156;
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: 0.01em;
  position: relative;
  font-size: 1rem;
}
img, picture, video {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
ul, ol {
  list-style: none;
}
a {
  color: #234156;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #7E9E8B;
  outline-offset: 2px;
}
strong, b {
  font-weight: 700;
  color: #234156;
}
::-webkit-input-placeholder, ::placeholder { color: #7E9E8B; opacity: 1; }

/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');
h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #234156;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul li, ol li, .text-section p {
  font-size: 1rem;
  color: #234156;
  margin-bottom: 12px;
}
.text-section h2, .text-section h3 {
  margin-top: 18px;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1110px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(35,65,86,0.06);
}
.features-grid, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid {
  margin-top: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F2F4F8;
  border-radius: 12px;
  padding: 28px 20px;
  flex: 1 1 240px;
  min-width: 240px;
  box-shadow: 0 2px 10px rgba(35,65,86,0.03);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 25px rgba(35,65,86,0.10);
  transform: translateY(-4px) scale(1.015);
}

/* ==== BUTTONS & CTA ==== */
.cta, .feature-articles a.cta, .cta-section .cta {
  display: inline-block;
  background: #234156;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 26px;
  transition: background 0.22s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(35,65,86,0.07);
  margin-top: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.cta:focus, .cta:active {
  outline: 2px solid #7E9E8B;
  outline-offset: 3px;
}
.cta:hover {
  background: #7E9E8B;
  color: #234156;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(35,65,86,0.06);
  padding: 0;
  position: relative;
  z-index: 21;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 72px;
  gap: 20px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #234156;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7E9E8B;
  background: #F2F4F8;
}
.main-nav .cta {
  margin-left: 16px;
  padding: 8px 22px;
  background: #7E9E8B;
  color: #fff;
  transition: background 0.18s, color 0.18s;
}
.main-nav .cta:hover {
  background: #234156;
  color: #fff;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: flex;
  background: none;
  border: none;
  color: #234156;
  font-size: 2.2rem;
  cursor: pointer;
  align-items: center;
  margin-left: auto;
  min-width: 48px;
  min-height: 48px;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 50;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F4F8;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,65,86,0.89);
  z-index: 1000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transition: transform 0.36s cubic-bezier(.6,.15,.18,1.2);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  align-self: flex-end;
  margin: 16px 18px 5px 0;
  cursor: pointer;
  border-radius: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7E9E8B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 38px 32px 24px 32px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7E9E8B;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}
/* ==== HERO BANNER ==== */
.hero {
  padding: 52px 0 40px 0;
  background: #F2F4F8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  text-align: left;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.3rem;
  font-family: 'Montserrat', serif;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.2rem;
  color: #234156;
  margin-bottom: 14px;
}

/* ==== CTAs & SECTIONS ==== */
.cta-section {
  background: #234156;
  color: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 50px 0 42px 0;
  box-shadow: 0 4px 28px rgba(35,65,86,0.09);
}
.cta-section .container {
  justify-content: center;
}
.cta-section h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.cta-section .cta {
  background: #7E9E8B;
  color: #234156;
  font-weight: 700;
  margin-top: 10px;
}
.cta-section .cta:hover {
  background: #F2F4F8;
  color: #234156;
}

/* ==== CARDS & CARDS CONTAINER - generic for features/testimonials ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(35,65,86,0.06);
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 220px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(35,65,86,0.12);
  transform: translateY(-3px);
}

/* ==== SERVICES LIST ==== */
.services-list li {
  background: #F2F4F8;
  border-radius: 9px;
  padding: 18px 18px 8px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 6px rgba(35,65,86,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.services-list li:hover {
  box-shadow: 0 5px 18px rgba(35,65,86,0.10);
  transform: translateY(-2px) scale(1.02);
}
.services-list li h3 {
  color: #234156;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.services-list li span {
  color: #7E9E8B;
  font-weight: 600;
  margin-top: 6px;
  font-family: 'Montserrat', serif;
}

/* ==== TESTIMONIALS ==== */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  color: #234156;
  border-radius: 10px;
  padding: 24px 20px;
  min-width: 220px;
  box-shadow: 0 3px 18px rgba(126,158,139,0.09);
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: #7E9E8B;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(35,65,86,0.13);
  transform: translateY(-3px) scale(1.01);
}

/* ==== USP and FEATURE ARTICLES ==== */
.usp-list, .feature-articles ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.usp-list li, .feature-articles ul li {
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.usp-list img, .feature-articles img {
  height: 32px;
  width: 32px;
  margin-right: 8px;
}

.feature-articles h3 {
  font-size: 1.12rem;
  margin: 14px 0 7px 0;
  color: #234156;
}
.feature-articles a.cta {
  margin-top: 18px;
}

/* ==== CONTENT GRID and TEXT IMAGE SECTION ==== */
.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;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==== CONTACT PAGE ==== */
.contact-info {
  background: #F2F4F8;
  border-radius: 12px;
  padding: 18px 20px 15px 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #234156;
}
.map-placeholder {
  background: #fff;
  border: 1px solid #E4E6EB;
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #234156;
  box-shadow: 0 1.5px 6px rgba(35,65,86,0.04);
}

/* ==== FOOTER ==== */
footer {
  background: #fff;
  padding: 48px 0 32px 0;
  margin-top: 60px;
  border-top: 1px solid #E4E6EB;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  max-width: 250px;
}
.footer-brand img {
  height: 36px;
}
.footer-brand p {
  color: #7E9E8B;
  font-style: italic;
  font-size: 1rem;
  margin-top: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
}
.footer-nav a {
  color: #234156;
  padding: 4px 0;
  transition: color 0.18s;
  border-bottom: 1.5px dotted transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #7E9E8B;
  border-bottom: 1.5px dotted #7E9E8B;
}
.footer-contact {
  color: #234156;
  font-size: 0.98rem;
  line-height: 1.4;
  flex: 1 1 160px;
}
.footer-contact a {
  color: #7E9E8B;
  text-decoration: underline;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 12px;
}
.social-links a img {
  height: 26px;
  width: 26px;
  opacity: 0.85;
  border-radius: 8px;
  transition: outline 0.14s, box-shadow 0.14s;
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
  outline: 2px solid #7E9E8B;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 900px) {
  .header .container, .footer .container {
    flex-direction: column;
    gap: 28px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section, .cta-section {
    padding: 32px 8px;
  }
  .features-grid, .testimonials-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature-item, .testimonial-card {
    min-width: 80%;
    flex: 1 1 100%;
  }
  .content-grid, .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    height: auto;
    padding: 0 10px;
  }
  .social-links {
    margin-top: 16px;
  }
}
@media (max-width: 500px) {
  .footer-brand img {
    height: 30px;
  }
  .footer-brand {
    max-width: 160px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #234156;
  color: #fff !important;
  padding: 28px 16px 20px 16px;
  z-index: 1200;
  box-shadow: 0 -4px 24px rgba(35,65,86,0.17);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-radius: 10px 10px 0 0;
  animation: cookie-banner-in 0.5s cubic-bezier(.61,.37,.49,1.37);
  max-width: 660px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes cookie-banner-in {
  from { bottom: -100px; opacity: 0 }
  to   { bottom: 0; opacity: 1 }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-left: 10px;
}
.cookie-banner button {
  background: #F2F4F8;
  color: #234156;
  border: none;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 8px 22px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 7px rgba(35,65,86,0.05);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #7E9E8B;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #7E9E8B;
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #234156;
  color: #fff;
}

/* ==== COOKIE MODAL POPUP ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,65,86,0.37);
  z-index: 1201;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.3s cubic-bezier(.61,.37,.49,1.37);
}
@keyframes fade-in {
  from { opacity: 0 }
  to   { opacity: 1 }
}
.cookie-modal {
  background: #fff;
  color: #234156;
  font-family: 'Open Sans', serif;
  border-radius: 18px;
  padding: 32px 20px 24px 20px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 44px rgba(35,65,86,0.12);
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modal-in 0.43s cubic-bezier(.51,.16,.44,1.12);
  position: relative;
}
@keyframes modal-in {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0px) scale(1); opacity: 1 }
}
.cookie-modal .cookie-modal-title {
  font-family: 'Montserrat', serif;
  font-size: 1.17rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-modal label {
  cursor: pointer;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #234156;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 7px;
}
.cookie-modal .cookie-modal-close:hover {
  background: #F2F4F8;
}

/* ==== MISC ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #F2F4F8;
}
::-webkit-scrollbar-thumb {
  background: #E4E6EB;
  border-radius: 8px;
}

/* === Utility for spacing and visiblity === */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hide { display: none !important; }

/* ==== Elegant Classic Spacing for Sections ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
}

/* ==== ELEGANT CLASSIC CARD SHADOWS ==== */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 2.5px 12px rgba(35,65,86,0.07);
}
.card:active, .feature-item:active, .testimonial-card:active {
  box-shadow: 0 6px 35px rgba(126,158,139,0.14);
  transform: scale(0.99);
}

/* ==== Micro-interactions for Images ==== */
.feature-item img, .usp-list img {
  transition: transform 0.22s;
}
.feature-item:hover img, .usp-list li:hover img {
  transform: scale(1.07) rotate(-4deg);
}

/* ==== Additional elegant inputs, if needed ==== */
input, textarea, select {
  font-family: 'Open Sans', serif;
  border-radius: 7px;
  border: 1px solid #E4E6EB;
  padding: 10px 14px;
  font-size: 1rem;
  color: #234156;
  margin-bottom: 12px;
  background: #F2F4F8;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #7E9E8B;
  box-shadow: 0 0 0 2px rgba(126,158,139,.09);
  outline: none;
}

/* ==== PRINT ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  body {
    background: #fff!important;
    color: #000!important;
  }
}
