/* ------ 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,
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 {
  height: 100%;
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F4F4F4;
  background: #16364A;
  line-height: 1.5;
  background-color: #16364A;
  background-image: linear-gradient(120deg, #16364A 85%, #1b4263 100%);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

hr {
  border: none;
  border-top: 1px solid #2A4966;
  margin: 32px 0;
}

a {
  color: #E98C1A;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #F4F4F4;
  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;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.subheadline {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: #B4C7DE;
  line-height: 1.75;
}

p {
  color: #F4F4F4;
  margin-bottom: 16px;
  font-size: 1rem;
}

strong {
  color: #F4F4F4;
  font-weight: bold;
}

/* ------ HEADER & NAVIGATION ------ */
header {
  background: rgba(22,54,74,0.97);
  width: 100%;
  box-shadow: 0 2px 16px 0 rgba(22,54,74,0.14);
  position: relative;
  z-index: 11;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-size: 1rem;
  color: #F4F4F4;
  opacity: 0.9;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 4px;
  transition: color 0.2s, opacity 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #E98C1A;
  opacity: 1;
}
header a img {
  height: 38px;
}
/* Desktop primary CTA */
.btn-primary {
  background: #E98C1A;
  color: #16364A;
  border: none;
  border-radius: 32px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 12px 32px;
  margin-left: 18px;
  box-shadow: 0 4px 24px 0 rgba(233,140,26,0.12), 0 1.5px 6px 0 rgba(22,54,74,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  outline: none;
  position: relative;
  overflow: hidden;
}
.btn-primary:after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.11);
  opacity: 0;
  transition: opacity 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffad43;
  color: #16364A;
  transform: translateY(-2px) scale(1.025);
}
.btn-primary:hover:after, .btn-primary:focus:after {
  opacity: 0.08;
}

/* ------ HERO SECTION ------ */
.hero {
  background: linear-gradient(137deg, rgba(22,54,74,1) 65%, #174160 100%);
  padding: 73px 0 56px 0;
  margin-bottom: 60px;
  border-bottom: 2px solid #233652;
  position: relative;
}
.hero .container {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 700px;
  width: 100%;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 30px 0;
  }
  .hero .container {
    min-height: 140px;
    padding: 0 6px;
  }
}

/* ------ SECTION SPACING & PATTERNS ------ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #1b4263;
  box-shadow: 0 6px 20px 0 rgba(22,54,74,0.22), 0 1.5px 6px 0 rgba(22,54,74,0.10);
  padding: 30px 24px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 18px 40px 0 rgba(233,140,26,0.10), 0 6px 28px 0 rgba(22,54,74,0.20);
  transform: translateY(-4px) scale(1.015);
}

.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;
  padding: 20px;
  background: #F4F4F4;
  color: #16364A;
  border-left: 4px solid #E98C1A;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(22,54,74,0.06);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.17s;
  position: relative;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #16364A;
  font-size: 1.18rem;
  line-height: 1.7;
  margin: 0 0 16px 0;
}
.testimonial-card p {
  margin: 0;
  color: #16364A;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px 0 rgba(22,54,74,0.12);
  transform: translateY(-2px) scale(1.012);
}

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

.services-grid, .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.services-grid > div, .service-card, .product-grid > div {
  background: #174160;
  border-radius: 13px;
  box-shadow: 0 6px 22px 0 rgba(22,54,74,0.09);
  padding: 22px 18px 18px 18px;
  min-width: 210px;
  color: #F4F4F4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 12px;
  border: 1.5px solid transparent;
}
.services-grid > div:hover, .service-card:hover, .product-grid > div:hover {
  border-color: #E98C1A;
  box-shadow: 0 10px 32px rgba(233,140,26,0.10);
  transform: translateY(-2px) scale(1.015);
}
.services-grid span, .service-card span {
  font-size: 0.97rem;
  color: #E98C1A;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.03em;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-placeholder {
  background: #223C56;
  color: #E98C1A;
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  min-height: 80px;
  text-align: center;
}

.contact-preview {
  background: #1b4263;
  border-radius: 16px;
  margin-bottom: 38px;
}

/* ------ LISTS & BULLETS ------ */
ul {
  margin-bottom: 18px;
  color: #B4C7DE;
  font-size: 1rem;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 11px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #E98C1A;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 5px;
  box-shadow: 0 0 4px 2px #e98c1a77;
}

/* ------ FOOTER ------ */
footer {
  background: #16364A;
  border-top: 2px solid #1b4263;
  padding: 36px 0 24px 0;
  color: #B4C7DE;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
footer a img {
  height: 32px;
  margin-bottom: 14px;
}
footer nav {
  margin-top: 0;
  gap: 20px;
}
footer nav a {
  color: #B4C7DE;
  font-size: 0.99rem;
  opacity: 0.88;
  transition: color 0.17s, opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #E98C1A;
  opacity: 1;
}
footer p {
  margin-bottom: 0;
  margin-top: 10px;
  font-size: 0.94rem;
}

/* ------ MOBILE MENU ------ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  background: #16364A;
  border: none;
  color: #E98C1A;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 8px 15px 6px 15px;
  z-index: 101;
  box-shadow: 0 1px 10px 0 rgba(22,54,74,0.12);
  transition: background 0.17s, color 0.16s;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E98C1A;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #16364Ac9;
  backdrop-filter: blur(2px);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.4,0.01,0.3,1);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 0 0 16px;
  background: none;
  border: none;
  color: #E98C1A;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1002;
  align-self: flex-start;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 26px 16px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.34rem;
  color: #F4F4F4;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1.2px solid #204c69;
  transition: color 0.19s, border-color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E98C1A;
  border-bottom: 1.2px solid #E98C1A;
}

@media (max-width:990px) {
  header .container nav, header .container .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* ------ COOKIE CONSENT BANNER ------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #1b4263;
  color: #F4F4F4;
  box-shadow: 0 -4px 24px rgba(22,54,74,0.21);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 18px 16px;
  gap: 10px;
  animation: cookieFadein 0.7s;
  font-size: 1.08rem;
}
@keyframes cookieFadein {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  color: #F4F4F4;
  margin-bottom: 9px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 2px 0;
  align-items: center;
  justify-content: center;
}
.cookie-banner .btn-accept, .cookie-banner .btn-reject, .cookie-banner .btn-settings {
  border: none;
  border-radius: 21px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 22px;
  margin-right: 0px;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1.5px 7px 0 rgba(22,54,74,0.05);
  transition: background 0.2s, color 0.13s;
}
.cookie-banner .btn-accept {
  background: #E98C1A;
  color: #16364A;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #FDBB53;
}
.cookie-banner .btn-reject {
  background: #233652;
  color: #F4F4F4;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #2b527d;
}
.cookie-banner .btn-settings {
  background: #16364A;
  color: #E98C1A;
  border: 1.5px solid #E98C1A;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #2a4966;
  color: #ffd8a7;
}

/* ------ COOKIE MODAL ------ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10501;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,54,74,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadein 0.25s;
}
@keyframes modalFadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #1b4263;
  color: #F4F4F4;
  border-radius: 18px;
  max-width: 390px;
  width: 98vw;
  padding: 35px 28px 28px 28px;
  box-shadow: 0 8px 40px rgba(22,54,74,0.24), 0 3px 16px 0 rgba(22,54,74,0.14);
  font-size: 1.09rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalPopup 0.32s;
}
@keyframes modalPopup {
  0% { opacity: 0; transform: scale(0.85); }
  72% { transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
  color: #ffd093;
  font-family: 'Oswald', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-size: 1rem;
  color: #F4F4F4;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #233652;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #E98C1A;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3.5px;
  width: 15px;
  height: 15px;
  background: #F4F4F4;
  border-radius: 50%;
  transition: transform 0.16s;
}
.cookie-toggle:checked:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .btn-accept, .cookie-modal .btn-reject {
  min-width: 110px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: #E98C1A;
  font-size: 1.7rem;
  position: absolute;
  right: 14px; top: 16px;
  cursor: pointer;
  z-index: 8;
  transition: color 0.19s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #fff;
}

/* ------ RESPONSIVENESS ------ */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .card, .services-grid > div, .service-card, .product-grid > div {
    flex: 1 1 310px;
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5vw;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 34px;
  }
  .content-grid,
  .card-container,
  .services-grid,
  .product-grid,
  .testimonial-card {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .btn-primary {
    padding: 10px 18px;
    margin-left: 6px;
    font-size: 0.97rem;
  }
}
@media (max-width: 540px) {
  .testimonial-card,
  .card,
  .services-grid > div, .service-card, .product-grid > div {
    padding: 16px 8px 14px 12px;
    min-width: 0;
  }
}

/* ------ ANIMATIONS & MICROINTERACTIONS ------ */
.card, .service-card, .product-grid > div, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.16s, border-color 0.17s;
}
.card:hover, .service-card:hover, .product-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 12px 32px 0 #1b426333, 0 4px 24px 0 #E98C1A22;
  transform: translateY(-2px) scale(1.012);
}
.btn-primary, .btn-accept, .btn-reject, .btn-settings {
  transition: background 0.19s, color 0.17s, transform 0.14s;
}
.btn-primary:active, .btn-accept:active, .btn-reject:active, .btn-settings:active {
  transform: scale(0.96);
}

/* ------ SCROLLBAR (Dark/Modern) ------ */
::-webkit-scrollbar {
  width: 10px;
  background: #16364A;
}
::-webkit-scrollbar-thumb {
  background: #233652;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d5172;
}

/* ------ UX: FOCUS STATES ------ */
a:focus, .btn-primary:focus, .btn-accept:focus, .btn-reject:focus, .btn-settings:focus {
  outline: 2px solid #E98C1A;
  outline-offset: 0px;
}

/* ------ FONT EMBEDS ------ */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ------ CUSTOM NEON ACCENTS/SHADOWS ------ */
.btn-primary, .btn-accept {
  box-shadow: 0 2px 16px 0 #e98c1a44, 0 1.5px 8px 0 #16364A1e;
}
.card, .service-card, .testimonial-card {
  box-shadow: 0 2px 12px 0 #1b426355, 0 0.5px 1px 0 #E98C1A25;
}

/* Add slight glow to accent elements */
.btn-primary {
  text-shadow: 0 0 6px #ffd08377;
}
h1, h2, h3 {
  text-shadow: 0 1.5px 5px #1b426329;
}

/* ------ FORMS (if any present in contact/survey) ------ */
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  background: #1b4263;
  color: #F4F4F4;
  border: 1.5px solid #233652;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border 0.15s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E98C1A;
  outline: none;
  box-shadow: 0 0 0 2px #E98C1A44;
}
label {
  color: #E98C1A;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 7px;
  font-size: 1rem;
}

/* ------ UTILITIES ------ */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

/* ------ END ------ */
