/* --- 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9FAFC;
  color: #1A2233;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #0F3057;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F8B400;
}
ul, ol {
  padding-left: 24px;
}
strong, b { font-weight: 700; }

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #0F3057;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.17rem; margin-bottom: 14px; }
h4 { font-size: 1rem; margin-bottom: 12px; }

p, li, dd, dt {
  font-size: 1rem;
  line-height: 1.6;
  color: #263446;
}

.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 24px;
}

.text-section ul, .text-section ol {
  margin: 8px 0 20px 0;
}

/* --- GLOBAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(30,56,88,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: relative;
  z-index: 40;
}
header > a img {
  height: 40px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  color: #0F3057;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #E7E9EB;
  color: #F8B400;
}
.cta-button {
  background: #0F3057;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 10px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(15,48,87,0.09);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  outline: none;
  display: inline-block;
  letter-spacing: 0.025em;
}
.cta-button:hover,
.cta-button:focus {
  background: #155090;
  box-shadow: 0 6px 20px rgba(15,48,87,0.12);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  font-size: 2rem;
  color: #0F3057;
  cursor: pointer;
  margin-left: 16px;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E7E9EB;
}

/* Hide menu button on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(15,48,87,0.94);
  color: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.42,.00,.58,1);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  padding-left: 32px;
  padding-right: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  padding:8px;
  border-radius:6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #203860;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8B400;
  color: #0F3057;
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
}

/* --- MAIN LAYOUT & SECTIONS --- */
main {
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15,48,87,0.04), 0 1.5px 5px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Special style for hero sections */
.hero {
  background: #0F3057 url('../assets/bg-hero-corporate.jpg') no-repeat center center/cover;
  color: #fff !important;
  box-shadow: none;
  border-radius: 0;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  gap: 18px;
  color: #fff;
  align-items: flex-start;
}
.hero h1, .hero p {
  color: #fff !important;
}
.hero .cta-button {
  background: #F8B400;
  color: #0F3057;
}
.hero .cta-button:hover {
  background: #203860;
  color: #fff;
}

.cta {
  background: #E7E9EB;
  border-radius: 24px;
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 16px;
}
.cta h2, .cta p {
  color: #0F3057 !important;
}

@media (max-width: 768px) {
  section {
    padding: 28px 10px;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .hero {
    min-height: 180px;
    padding: 26px 0;
  }
}

/* --- CARD & FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #D2DBEA;
  box-shadow: 0 2px 8px rgba(15, 48, 87, 0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(15, 48, 87, 0.14);
  transform: translateY(-3px) scale(1.025);
}
.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* --- TESTIMONIAL CARD --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E7E9EB;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px rgba(30,56,88,.07);
  color: #1A2233;
  font-size: 1rem;
  flex-direction: column;
  text-align: left;
}
.testimonial-card strong, .testimonial-card span {
  display: inline-block;
  margin-top: 8px;
}
.testimonial-card span {
  color: #F8B400;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

@media (min-width: 480px) {
  .testimonial-card {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 72px;
    gap: 36px;
    text-align: left;
  }
  .testimonial-card p { flex: 1; }
}

/* Ensure testimonial text always dark over light BG */
.testimonial-card,
.testimonial-card p,
.testimonial-card strong {
  color: #1A2233 !important;
}

/* --- MISCELLANEOUS FLEX & CARD PATTERNS --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- UL/OL Style enhancements --- */
ul, ol {
  margin-bottom: 20px;
}
ul li,
ol li {
  margin-bottom: 10px;
  padding-left: 0;
  position: relative;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li:before {
  content: '\2022';
  color: #0F3057;
  font-weight: 700;
  margin-right: 10px;
}

ol li {
  counter-increment: ordered;
}
ol li:before {
  content: counter(ordered) '.';
  counter-reset: ordered;
  color: #0F3057;
  font-weight: 700;
  margin-right: 10px;
}

/* --- SPECIAL: Icon lists (override default bullet) --- */
ul li img {
  margin-right: 8px;
  height: 24px;
  width: 24px;
  vertical-align: middle;
}
ul li img + * {
  vertical-align: middle;
}


/* --- FOOTER --- */
footer {
  background: #0F3057;
  color: #fff;
  margin-top: 40px;
  padding: 48px 0 20px 0;
  font-size: 0.95rem;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 32px rgba(15,48,87,0.07);
}
footer .container {
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #F8B400;
  font-weight: 500;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}
footer .text-section img {
  height: 16px; width: 16px; margin-right: 8px;
  vertical-align: middle;
}
footer .social-links {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}
footer .social-links a img {
  width: 30px;
  height: 30px;
  transition: filter 0.2s, transform 0.15s;
  filter: grayscale(60%);
}
footer .social-links a:hover img {
  filter: none;
  transform: scale(1.12) rotate(-5deg);
}
footer a img {
  height: 36px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
  footer .social-links { margin-bottom: 18px; }
}

/* --- FORMS (if any, ensure basics) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #B5C7DC;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #0F3057;
  outline: none;
  box-shadow: 0 2px 8px rgba(15,48,87,0.07);
}

/* --- DL FAQ Style --- */
dl {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #0F3057;
  margin-bottom: 6px;
  font-size: 1.11rem;
}
dd {
  margin-left: 0;
  margin-bottom: 10px;
  color: #263446;
}

dl a {
  color: #F8B400;
}

dl a:hover { text-decoration: underline; }

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
button, .cta-button, a {
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.16s;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #1A2233;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 24px rgba(15,48,87,0.13);
  padding: 24px 16px 18px 16px;
  gap: 12px;
  font-size: 1rem;
  transform: translateY(140%);
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(.42,0,.74,1.2), transform 0.34s cubic-bezier(.42,0,.74,1.2);
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 18px;
  border: none;
  background: #F8B400;
  color: #0F3057;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 5px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #0F3057;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #E7E9EB;
  color: #0F3057;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #0F3057;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  width: 100vw; height: 100vh;
  background: rgba(20,33,58,0.82);
  z-index: 14000;
  top: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #1A2233;
  min-width: 310px;
  max-width: 98vw;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(15,48,87,0.17);
  padding: 34px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  font-size: 1rem;
  gap: 18px;
  animation: cookieModalEnter .33s cubic-bezier(.51,.23,.41,1.07);
}
@keyframes cookieModalEnter {
  from { transform: scale(0.95) translateY(50px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #0F3057;
  cursor: pointer;
  padding: 4px;
}
.cookie-modal-close:hover { color: #F8B400; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.03rem;
  color: #0F3057;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #0F3057;
}
.cookie-category.disabled label {
  color: #5C7BA7;
  text-decoration: underline dotted #C7D1EA 1.7px;
}
.cookie-modal .cookie-modal-actions {
  width: 100%;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 26px;
  border-radius: 18px;
}

/* --- RESPONSIVE RULES --- */
@media (min-width: 769px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .cta-button {
    padding: 9px 20px;
    font-size: 0.97rem;
  }
  .hero {
    padding: 18px 0;
  }
  .card {
    min-width: 100%;
    padding: 16px 10px;
    border-radius: 10px;
  }
}

/* Make sure spacing never condenses below guidelines */
@media (max-width: 480px) {
  .section, section { padding: 18px 2px !important; }
  .card-container, .content-grid, .text-image-section {
    gap: 10px !important;
  }
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-16 { gap: 16px !important; }

/* --- OVERRIDES (FORMS, etc.) --- */
input[type="submit"], input[type="button"], button[type="submit"] {
  background: #F8B400;
  color: #0F3057;
  font-weight: 700;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s;
}
input[type="submit"]:hover, input[type="button"]:hover, button[type="submit"]:hover {
  background: #0F3057;
  color: #fff;
}

/* --- END OF MAIN STYLES --- */
