/*--------------------------------
  CSS RESET & BASE NORMALIZATION
---------------------------------*/
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 {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #18263a;
  color: #F5F7FA;
  min-height: 100vh;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  
}
main {
  flex: 1 0 auto;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F4B942;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff387; 
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
input, button, textarea, select {
  font: inherit;
  border-radius: 0;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/*------------------------------------
  BRAND TYPOGRAPHY & HEADER STYLES
-------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F7FA;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
}
h4, h5, h6 {
  font-size: 1rem;
}
p.lead {
  font-size: 1.22rem;
  color: #cbe4fd;
  margin-bottom: 28px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
  color: #d5e0ee;
}
strong {
  font-weight: 700;
}

/*------------------------------------
  GENERAL CONTAINERS & SECTIONS
-------------------------------------*/
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(101deg,rgba(32,83,129,0.82) 75%,rgba(32,83,129,0.36) 100%); /* fallback if needed */
  border-radius: 26px;
  box-shadow: 0 10px 40px rgba(32,83,129,0.11), 0 2px 16px rgba(244,185,66,0.06);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  text-align: center;
}

/*------------------------------------
  HEADER STYLES & NAVIGATION
------------------------------------*/
header {
  width: 100%;
  background: #18263a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1002;
  padding: 14px 0 10px 0;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.2s;
  color: #F5F7FA;
}
.main-nav a.btn-primary {
  background: #F4B942;
  color: #18263a;
  font-weight: bold;
  padding: 8px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(244,185,66,0.21);
  margin-left: 30px;
  transition: background 0.22s, color 0.22s, box-shadow 0.15s;
}
.main-nav a.btn-primary:hover, .main-nav a.btn-primary:focus {
  background: #ffd96e;
  color: #18263a;
  box-shadow: 0 2px 18px rgba(244,185,66,0.36);
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(244,185,66,0.17);
  color: #F4B942;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #F4B942;
  background: none;
  border: none;
  margin-left: 32px;
  transition: color 0.2s;
  z-index: 1500;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #fff;
}

/*------------------------------------
  MOBILE MENU
------------------------------------*/
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #18263a;
  z-index: 2002;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.87,-0.41,.19,1.44);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #F4B942;
  margin-bottom: 24px;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff387;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: #F5F7FA;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 0 14px 2px;
  border-bottom: 1px solid #24405d;
  transition: color 0.23s, background 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4B942;
  background: rgba(32,83,129,0.08);
}

/*-------------------------------
  HERO & CTA STYLING
-------------------------------*/
section {
  margin-bottom: 60px; 
  padding: 40px 20px;
  border-radius: 22px;
}
section:first-child {
  margin-top: 22px;
}

/*-------------------------------
  FLEX: FEATURE, SERVICE, TESTIMONIAL
-------------------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-grid > div {
  flex: 1 1 220px;
  background: rgba(25,41,75,0.64);
  padding: 26px 22px;
  border-radius: 16px;
  min-width: 210px;
  box-shadow: 0 4px 16px 0 rgba(32,83,129,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 1.5px solid #24405d;
  transition: box-shadow 0.25s, border 0.22s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(32,83,129,0.25);
  border-color: #F4B942;
}
.feature-grid img {
  width: 50px; height: 50px; margin-bottom: 8px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 24px;
}
.service-item {
  background: rgba(32,83,129,0.96);
  border-radius: 18px;
  padding: 32px 26px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  box-shadow: 0 2px 18px 0 rgba(32,83,129,0.17);
  border: 1.5px solid #305a8c;
  position: relative;
  transition: box-shadow 0.22s, border 0.22s;
}
.service-item:hover {
  box-shadow: 0 4px 32px 0 #F4B94233;
  border-color: #F4B942;
}
.price-tag {
  display: inline-block;
  color: #F4B942;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 9px;
  background: rgba(244,185,66,0.09);
  padding: 2.5px 10px 2.5px 10px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(32,83,129,0.11);
}

.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 26px 20px 24px;
  min-width: 220px;
  background: #F5F7FA;
  color: #18263a;
  border-radius: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 5px 30px rgba(32,83,129,0.13);
  border: 1px solid #d7e2ee;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card p {
  color: #000;
}
.testimonial-card strong {
  color: #205381;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px rgba(32,83,129,0.21);
  border: 1.5px solid #F4B942;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.core-values-list, .benefit-list, .guide-list, .featured-articles-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.core-values-list li, .benefit-list li, .guide-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  color: #cbe4fd;
}
.core-values-list img, .benefit-list img, .guide-list img {
  width: 32px;
  height: 32px;
}
.featured-articles-list li {
  background: rgba(32,83,129,0.82);
  padding: 22px 18px 17px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(32,83,129,0.07);
  margin-bottom: 10px;
}
.featured-articles-list h3 {
  margin-bottom: 7px;
}

/*-------------------------------
  BUTTONS - NEON/TECH EFFECTS
-------------------------------*/
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  text-align: center;
  padding: 13px 36px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 0 0 2px #f4b94222, 0 4px 16px 0 #F4B94222;
  transition: background 0.19s, color 0.18s, box-shadow 0.23s, transform 0.11s;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary {
  background: #F4B942;
  color: #18263a;
  text-shadow: 0 0 6px #fff8bf99, 0 0 2px #fff8bf63;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffd96e;
  color: #18263a;
  box-shadow: 0 0 16px 3px #FFD96E99, 0 4px 20px 2px #fff38733;
  transform: translateY(-1.5px) scale(1.025);
}
.btn-secondary {
  background: #205381;
  color: #F5F7FA;
  border: 2px solid #F4B942;
  box-shadow: 0 0 0 2px #205381aa, 0 1px 12px 0 #20538144;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #14304F;
  color: #F4B942;
  border-color: #ffd96e;
  box-shadow: 0 0 18px 2px #20538166, 0 4px 20px 2px #F4B94211;
  transform: translateY(-1px) scale(1.025);
}

/*-------------------------------
  MISCELLANEOUS
-------------------------------*/
.footer-brand img {
  height: 34px;
}
footer {
  background: #14304F;
  color: #F4B942;
  padding: 36px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
  border-radius: 22px 22px 0 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #F4B942;
  transition: color 0.2s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5F7FA;
}
.footer-contact {
  font-size: 0.97rem;
  color: #f7eac4;
}
.footer-contact a {
  color: #ffe07c;
  transition: color 0.2s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #F4B942;
}

/*-------------------------------
  COOKIE CONSENT BANNER
-------------------------------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #18263a;
  color: #F5F7FA;
  box-shadow: 0 -4px 42px #18263a33;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 24px 22px 24px;
  z-index: 3002;
  align-items: flex-start;
  transition: transform 0.34s;
}
.cookie-consent-banner.hide {
  transform: translateY(130%);
  transition: transform 0.4s;
}
.cookie-consent-buttons {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 18px;
  border-radius: 8px;
  margin-right: 0;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.21s, color 0.16s;
}
.cookie-btn.accept {
  background: #F4B942;
  color: #18263a;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD96E;
}
.cookie-btn.reject {
  background: #205381;
  color: #F4B942;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #14304F;
  color: #FFD96E;
}
.cookie-btn.settings {
  background: transparent;
  color: #F4B942;
  border: 1.5px solid #F4B942;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #24405d;
}

/*--- Preferences Modal ---*/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  z-index: 3100;
  background: rgba(8,17,36,0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #16253b;
  color: #F5F7FA;
  border-radius: 18px;
  padding: 35px 22px 26px 22px;
  width: 98%;
  max-width: 420px;
  box-shadow: 0 12px 48px rgba(32,83,129,0.31);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookie-pop 0.35s cubic-bezier(.84,-0.18,.22,1.19);
}
@keyframes cookie-pop {
  0% { transform: scale(0.88) translateY(32px); opacity: 0.1; }
  76% { transform: scale(1.04) translateY(-6px); opacity: 0.96; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #F4B942;
  font-size: 1.32rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 1.03rem;
}
.cookie-category label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #24405d;
  border-radius: 12px;
  transition: background 0.22s;
}
.cookie-category .switch input:checked + .slider {
  background: #F4B942;
  box-shadow: 0 0 6px #F4B94266;
}
.cookie-category .slider:before {
  position: absolute;
  content: ''; left: 3px; top: 2.3px; width: 15px; height: 15px;
  background: #F5F7FA;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-category .slider {
  cursor: pointer;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 17px;
  background: transparent;
  color: #F4B942;
  font-size: 1.57rem;
  border: none;
  z-index: 2;
}
.cookie-modal .close-modal:hover {
  color: #fff387;
}

/*-------------------------------
  RESPONSIVENESS
-------------------------------*/
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  .feature-grid, .service-list, .testimonial-grid {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .feature-grid > div,
  .service-item,
  .testimonial-card {
    min-width: 170px;
  }
  .feature-grid, .service-list, .testimonial-grid {
    flex-direction: column;
    gap: 22px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid, .service-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .footer-brand, .footer-nav, .footer-contact {
    width: 100%;
    min-width: unset;
  }
  footer {
    flex-direction: column;
    gap: 30px;
    padding: 28px 0 28px 0;
    border-radius: 16px 16px 0 0;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .btn-primary, .btn-secondary {
    padding: 11px 18px;
    font-size: 0.96rem;
  }
  .service-item, .feature-grid > div {
    padding: 18px 12px;
  }
  .testimonial-card {
    padding: 12px 10px 12px 10px;
    font-size: 0.99rem;
  }
  .section {
    padding: 22px 5px;
    border-radius: 12px;
  }
}

/*-------------------------------
  SCROLLBAR STYLING
-------------------------------*/
::-webkit-scrollbar {
  width: 9px;
  background: #14304F;
}
::-webkit-scrollbar-thumb {
  background: #205381;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2f74c6;
}

/*-------------------------------
  SELECTION COLOR
-------------------------------*/
::selection {
  background: #F4B942;
  color: #205381; 
}

/*------------------------------------
  FOCUS OUTLINE ACCESSIBILITY
------------------------------------*/
:focus {
  outline: 2px solid #F4B942;
  outline-offset: 1px;
}

/*------------------------------------
  CUSTOM ANIMATIONS
--------------------------------------*/
@keyframes neonPulse {
  0% { box-shadow: 0 0 6px #F4B94233, 0 1px 12px 0 #18263a00; }
  48% { box-shadow: 0 0 16px #F4B94277, 0 2px 24px 2px #18263a22; }
  100% { box-shadow: 0 0 6px #F4B94233, 0 1px 12px 0 #18263a00; }
}
.btn-primary, .btn-secondary {
  animation: neonPulse 2.5s infinite;
  animation-delay: 0.3s;
}

/*------------------------------------
  PRINT STYLES
--------------------------------------*/
@media print {
  header, .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay, footer {display: none !important;}
  section, .container, .content-wrapper, main {box-shadow: none !important; background: #fff !important; color:#000 !important;}
}
