/* === 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, 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, main, 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 {
  scroll-behavior: smooth;
}
body {
  background: #0A1832;
  color: #F0F4F8;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #20B2AA;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F0F4F8;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0F4F8;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; }
p, li, span, label {
  font-size: 1rem;
  color: #E8EAF3;
}
strong { color: #20B2AA; font-weight: 700; }

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(20, 43, 78, 0.96);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(21,70,160,0.10);
  transition: background 0.4s;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #11204A;
  border-radius: 14px;
  box-shadow: 0 2px 12px 2px rgba(32, 178, 170, 0.10);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #20B2AA99;
  transform: translateY(-2px) scale(1.02);
}
.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;
  gap: 10px;
  align-items: flex-start;
  background: #FAFAFF;
  color: #12213C;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(21, 70, 160, 0.05), 0 0px 2px rgba(32,178,170,0.10);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #20B2AA;
}
.testimonial-card p {
  color: #12213C;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 500;
  color: #1546A0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === NAVBAR & HEADER === */
header {
  width: 100%;
  background: #142B4E;
  position: relative;
  box-shadow: 0 2px 8px rgba(21,70,160,0.05);
  z-index: 10;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F0F4F8;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 8px;
  transition: color 0.2s, box-shadow 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #20B2AA;
  text-shadow: 0 0 6px #20B2AA99, 0 0 8px #20B2AA55;
}
.btn-primary {
  background: linear-gradient(90deg, #1546A0 78%, #20B2AA 100%);
  color: #F0F4F8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 32px;
  border: none;
  outline: none;
  box-shadow: 0 4px 18px 0 #1546A040;
  font-size: 1.08rem;
  transition: transform 0.12s, box-shadow 0.22s, background 0.22s;
  display: inline-block;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #20B2AA 78%, #1546A0 100%);
  color: #FFF;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 32px #20B2AA80;
}
header img {
  height: 40px;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #20B2AA;
  font-size: 2.1rem;
  padding: 10px;
  margin-right: 4px;
  cursor: pointer;
  z-index: 110;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #F0F4F8;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(135deg, #1546A0 75%, #20B2AA);
  transform: translateX(-110vw);
  transition: transform 0.45s cubic-bezier(.7,.35,.38,1.03);
  z-index: 1001;
  padding: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #20B2AA;
}
.mobile-nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 0;
  width: 220px;
  border-radius: 8px;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #20B2AA;
  color: #0A1832;
}

@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === FOOTER === */
footer {
  background: #142B4E;
  padding: 32px 0 0 0;
  position: relative;
  z-index: 5;
  margin-top: 80px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 42px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 1 1 190px;
  max-width: 190px;
  margin-right: 22px;
  align-self: flex-start;
}
.footer-brand img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}
.footer-nav a {
  color: #BFE4EF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #20B2AA;
}
.footer-contact {
  font-size: 1rem;
  color: #7FCADA;
  max-width: 250px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
}
footer p {
  color: #7FCADA;
}

/* === LISTS & FEATURE STYLES === */
.features-list, .services-list, .security-list, .faq-list, .blog-list {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features-list li, .services-list li, .security-list li,
.faq-list li, .blog-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #12213C;
  border-radius: 10px;
  box-shadow: 0 1.5px 6px 0 #1546A017;
  padding: 17px 18px 15px 16px;
  margin-bottom: 0;
  color: #F0F4F8;
  font-size: 1rem;
  transition: background 0.16s;
  position: relative;
}
.features-list li img, .services-list li img, .security-list li img {
  width: 32px; height: 32px;
  margin-right: 8px;
  filter: drop-shadow(0 0 6px #20B2AA44);
}
.faq-list li h3 {
  color: #20B2AA;
  margin-bottom: 3px;
  font-size: 1.1rem;
}
.faq-list li p {
  color: #BFE4EF;
  font-size: 0.98rem;
}

/* === BLOG / SEARCH / FEATURED ARTICLES === */
.blog-search {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
}
.blog-search input[type='text'] {
  width: 100%;
  border-radius: 16px;
  padding: 11px 21px;
  font-size: 1.02rem;
  background: #152347;
  border: 1px solid #20B2AA;
  color: #F0F4F8;
  box-shadow: 0 1.5px 8px 0 #20B2AA18;
  outline: none;
  transition: border-color 0.22s, background 0.12s;
}
.blog-search input[type='text']:focus {
  background: #101827;
  border-color: #FFD400;
}
.featured-articles {
  margin-top: 24px;
  background: #11204A;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px #20B2AA09;
  padding: 20px 24px;
}
.featured-articles h3 {
  color: #20B2AA;
  font-size: 1.1rem;
}
.featured-articles ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.featured-articles a {
  color: #BFE4EF;
  transition: color 0.16s;
}
.featured-articles a:hover { color: #20B2AA; }

/* === MAP / CONTACT / BADGES === */
.map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #111E3C;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 #20B2AA09;
  margin: 0 0 18px 0;
  padding: 18px 18px;
  min-width: 90px;
  min-height: 90px;
}
.certifications {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #182D54;
  border-radius: 12px;
  padding: 12px 20px;
  margin: 18px 0 18px 0;
  box-shadow: 0 2px 9px 0 #20B2AA14;
}
.certifications img { width: 38px; }
.certifications span { color: #BFE4EF; font-size: 1rem; }

/* === MICRO-ANIMATIONS === */
.btn-primary,
.card,
.testimonial-card,
.features-list li,
.services-list li,
.security-list li,
.footer-nav a,
header nav a, .mobile-nav a {
  transition: box-shadow 0.14s, background 0.18s, color 0.18s, transform 0.10s;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #11204A;
  color: #F0F4F8;
  padding: 24px 32px 18px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 18px #11204A99;
  z-index: 2500;
  gap: 20px;
  animation: cookieSlideUp 0.7s;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #BFE4EF;
  font-size: 0.99rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-btn {
  border: none;
  padding: 8px 28px;
  border-radius: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.13s;
}
.cookie-btn.accept {
  background: #20B2AA;
  color: #0A1832;
}
.cookie-btn.reject {
  background: #1546A0;
  color: #F0F4F8;
}
.cookie-btn.settings {
  background: none;
  border: 1.5px solid #20B2AA;
  color: #20B2AA;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.04) translateY(-1px);
  background: #12213C;
  color: #BFE4EF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #18a092;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #132b4e;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #20B2AA;
  color: #0A1832;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.97);
  background: #203565;
  border-radius: 16px;
  box-shadow: 0 8px 42px 0 #1546A044;
  z-index: 3001;
  min-width: 320px;
  max-width: 95vw;
  padding: 32px 30px 18px 30px;
  animation: modalScaleIn 0.36s;
}
@keyframes modalScaleIn {
  from { transform: translate(-50%,-50%) scale(0.90); opacity: 0; }
  to   { transform: translate(-50%,-50%) scale(0.97); opacity: 1; }
}
.cookie-modal h2 {
  color: #20B2AA;
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.cookie-modal .modal-section {
  margin: 16px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal label {
  color: #BFE4EF;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #20B2AA;
  width: 19px; height: 19px;
}
.cookie-modal .cookie-toggle {
  accent-color: #20B2AA;
  margin-top: 0;
  margin-left: 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 20px;
  background: none; border: none;
  color: #FFF; font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #FFD400;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex; gap: 18px;
  flex-direction: row; justify-content: flex-end;
}

/* === BUTTONS, FORMS === */
button {
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  background: none;
  border: none;
}
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #13233E;
  background: #F0F4F8;
  border: 1.5px solid #20B2AA77;
  border-radius: 9px;
  padding: 10px 15px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1546A0;
}

/* === UTILITIES === */
.mb-2 { margin-bottom: 12px !important; }
.mb-3 { margin-bottom: 24px !important; }
.flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }

/* === RESPONSIVE === */
@media (max-width: 1023px) {
  .section {
    margin-bottom: 38px;
    padding: 30px 12px;
  }
  .footer-brand img {
    height: 38px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 5vw;
  }
  .footer-contact {
    max-width: 100vw;
    font-size: 0.93rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.1rem; }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 22px 4px;
    border-radius: 7px;
  }
  .card, .testimonial-card {
    border-radius: 8px;
    padding: 14px 6px;
  }
  .map {
    padding: 8px 6px;
    min-width: 60px; min-height: 60px;
  }
  .certifications {
    padding: 7px 10px;
    border-radius: 7px;
  }
  .cookie-banner {
    padding: 11px 6vw 9px 6vw;
    font-size: 1rem;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 18px 5vw 13px 5vw;
  }
}

/* === VISUAL HIERARCHY === */
.section:first-of-type {
  background: linear-gradient(135deg, #1546A0 70%, #20B2AA 100%);
  box-shadow: 0 12px 32px #1546A033;
  color: #F0F4F8;
}
.section:first-of-type h1, .section:first-of-type h2, .section:first-of-type h3 {
  color: #FFF;
  text-shadow: 0 4px 16px #12213c33;
}
.section:first-of-type .btn-primary {
  background: linear-gradient(80deg, #20B2AA 20%, #1546A0 80%);
  color: #FFF;
  box-shadow: 0 4px 24px #20B2AA80;
}
.section:first-of-type .btn-primary:hover {
  background: linear-gradient(90deg, #1546A0 65%, #20B2AA 100%);
}

/* === Z INDEX FIXES FOR OVERLAYS === */
.cookie-banner, .cookie-modal, .mobile-menu { z-index: 2000; }

/* === ICONS === */
.features-list img, .services-list img, .security-list img, .footer-brand img {
  filter: drop-shadow(0 0 4px #20B2AA44);
}

/* === SPECIAL CLASSES FOR MARGINS, GAPS === */
.card, .testimonial-card, .features-list li, .services-list li, .security-list li {
  margin-bottom: 20px;
}

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