/* ======================
   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, output, article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F7F7;
  color: #1E4366;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1E4366;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4A259;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
:focus {
  outline: 2px solid #F4A259;
  outline-offset: 2px;
}

/* ========
   FONTS
   ======== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #1E4366;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.875rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
h4, h5 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #21334b;
}
strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.0625rem; }
}

/* =========================================
   STRUCTURE: LAYOUT, GRIDS & SPACING RULES
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.feature-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(30,67,102,0.08);
  padding: 28px 24px 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  min-height: 180px;
}
.text-section {
  margin-bottom: 28px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .feature-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-grid > div {
  flex: 1 1 220px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(30,67,102,0.07);
  border-radius: 20px;
  padding: 28px 20px;
  min-width: 240px;
  transition: box-shadow 0.2s, transform 0.25s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid > div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(244,162,89,0.18), 0 2px 24px rgba(30,67,102,0.12);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
  color: #1E4366;
  font-size: 1rem;
}
li {
  margin-bottom: 8px;
}

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

/* =============================
   HEADER & MAIN NAVIGATION BAR
   ============================= */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(30,67,102,0.06);
  border-bottom: 4px solid #F4A259;
  z-index: 30;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}
header img {
  height: 46px;
  margin-right: 32px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: #1E4366;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 0 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
header nav a:hover,
header nav a:focus, nav a.active {
  color: #F4A259;
  border-bottom: 2px solid #F4A259;
}
header .btn-primary {
  margin-left: 28px;
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  header nav, header .btn-primary {
    margin-top: 6px;
  }
}

/* ================
   HERO SECTIONS
   ================ */
.hero {
  padding: 64px 0 50px 0;
  background: #f3f7fa;
  margin-bottom: 56px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  margin-bottom: 12px;
  color: #1E4366;
}
.hero p {
  color: #384b5c;
  font-size: 1.12rem;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    padding: 38px 0 32px 0;
    margin-bottom: 36px;
  }
  .hero .container {
    padding: 0;
  }
  .hero .content-wrapper {
    padding: 0 8px;
  }
}

/* =========================
   BUTTONS & INTERACTIONS
   ========================= */
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: #1E4366;
  color: #fff !important;
  border-radius: 12px;
  padding: 14px 38px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: none;
  outline: none;
  box-shadow: 0 4px 18px 0 rgba(244,162,89,0.09);
  transition: background 0.2s, transform 0.16s, box-shadow 0.15s, color 0.2s;
  position: relative;
  margin-top: 8px;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #F4A259;
  color: #1E4366 !important;
  box-shadow: 0 8px 32px 0 rgba(244,162,89,0.19);
  transform: translateY(-2px) scale(1.035);
}

.btn-secondary {
  background: #fff;
  color: #1E4366;
  border: 2px solid #1E4366;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 32px;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1E4366;
  color: #fff;
  border-color: #F4A259;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 24px 32px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 rgba(30,67,102,0.08);
  border-left: 6px solid #F4A259;
  transition: box-shadow 0.18s, border-color 0.18s;
  max-width: 600px;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #21334b;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #6c7a8a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px 0 rgba(244,162,89,0.17), 0 2px 24px rgba(30,67,102,0.17);
  border-left: 6px solid #1E4366;
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 16px;
  }
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #1E4366;
  color: #fff;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
footer nav a {
  color: #F4A259;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  border-bottom: 2px solid #fff;
}
.footer-links {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #e0e6ef;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-align: center;
}
.footer-links a {
  color: #F4A259;
  text-decoration: underline;
  transition: color 0.13s;
  margin: 0 5px;
}
.footer-links a:hover {
  color: #fff;
}
.social-icons {
  display: flex;
  gap: 16px;
  margin: 6px 0 0 0;
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(15%);
  transition: filter 0.16s, transform 0.16s;
  border-radius: 7px;
}
.social-icons img:hover {
  filter: none;
  background: #F4A259;
  transform: scale(1.09) rotate(-7deg);
}
footer .text-section {
  margin: 0;
  color: #cbd2dd;
  font-size: 0.93rem;
  text-align: center;
}

@media (max-width: 768px) {
  footer .container {
    gap: 12px;
    padding: 0 8px;
  }
}

/* =================================
   MOBILE MENU: Hamburger Navigation
   ================================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 2.2rem;
  color: #1E4366;
  background: #fff;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  z-index: 104;
  box-shadow: 0 4px 18px 0 rgba(30,67,102,0.11);
  transition: background 0.18s, box-shadow 0.18s, color 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  outline: 3px solid #F4A259;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #1E4366;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.86,.01,.36,1.14);
  box-shadow: 2px 0 38px 0 rgba(30,67,102,0.38);
  padding: 0 0 80px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #fff;
  align-self: flex-end;
  margin: 20px 28px 0 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4A259;
  background: rgba(244,162,89,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #fff;
  padding: 14px 0;
  width: 100vw;
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, background 0.14s;
}
.mobile-nav a:focus {
  color: #F4A259;
  outline: none;
  background: #22369a11;
  border-bottom: 2px solid #F4A259;
}
.mobile-nav a:hover {
  color: #F4A259;
  background: #22369a11;
}
@media (max-width: 1050px) {
  header nav,
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* ============================
   CARDS FOR SERVICES/SECTIONS
   ============================ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.card {
  border: 2.5px solid #F4A259;
  box-shadow: 0 2px 18px 0 rgba(30,67,102,0.07);
  border-radius: 16px;
  margin-bottom: 24px;
  background: #fff;
  min-width: 220px;
}
.card h3 {
  margin-top: 8px;
  color: #1E4366;
}
.card p {
  color: #384b5c;
  font-size: 1rem;
}

/* ==========================
   FORM ELEMENTS (Contact)
   ========================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #E3E7ED;
  padding: 12px 16px;
  background: #fcfcfb;
  color: #1E4366;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.18s;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #F4A259;
}

label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: #1E4366;
  margin-bottom: 3px;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1500;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(30,67,102,0.11);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 26px 14px 24px 14px;
  gap: 22px;
  transition: transform 0.28s cubic-bezier(.58,.45,.72,.84), opacity 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner .cookie-banner-content {
  max-width: 780px;
  color: #1E4366;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 9px;
  border: none;
  background: #F4A259;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.17s, color 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #1E4366;
  border: 2px solid #F4A259;
}
.cookie-banner .settings-btn {
  background: #1E4366;
  color: #fff;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #F4A259;
  color: #fff;
  border: 2px solid #1E4366;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 4px 16px 4px;
    gap: 12px;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    gap: 10px;
    justify-content: flex-start;
  }
}

/* =========================
   COOKIE PREFERENCES MODAL
   ========================= */
.cookie-modal {
  position: fixed;
  z-index: 1600;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,67,102,0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  padding: 32px 32px 24px 32px;
  border-radius: 18px;
  min-width: 310px;
  max-width: 90vw;
  box-shadow: 0 12px 48px 0 rgba(30,67,102,0.14);
  color: #1E4366;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal-content h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #1E4366;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  color: #1E4366;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F4A259;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.cookie-modal-content .cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-content button {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 9px;
  border: none;
  background: #F4A259;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.19s, color 0.13s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #1E4366;
  color: #fff;
}

/* ================
   RESPONSIVENESS
   ================ */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}
@media (max-width: 540px) {
  .card, .feature-grid > div {
    min-width: 100px;
    padding: 18px 8px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 95vw;
    padding: 9px 6px 14px 6px;
  }
}

/* ==============================
   GEOMETRIC SHAPES / DECORATION
   ============================== */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  top: -26px; left: 8vw;
  width: 128px; height: 128px;
  background: #F4A259;
  opacity: 0.20;
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0 80%);
  border-radius: 20px;
}
.hero::after {
  right: 4vw; bottom: -35px;
  width: 78px; height: 78px;
  background: #1E4366;
  opacity: 0.13;
  clip-path: polygon(100% 0, 100% 100%, 0 95%, 0 15%);
  border-radius: 15px;
}

@media (max-width: 768px) {
  .hero::before, .hero::after {
    display: none;
  }
}

/* ==========================
   VISUAL MICRO-INTERACTIONS
   ========================== */
.btn-primary, .btn-secondary, .feature-grid > div, .card, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal-content {
  transition: box-shadow 0.18s, transform 0.15s, background 0.18s, color 0.17s;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(244,162,89,0.13), 0 2px 24px rgba(30,67,102,0.10);
  transform: translateY(-2px) scale(1.027);
}

/* ================
   TYPOGRAPHY SCALE
   ================ */
.font-xs { font-size: 0.85rem; }
.font-sm { font-size: 1rem; }
.font-md { font-size: 1.35rem; }
.font-lg { font-size: 1.8rem; }
.font-xl { font-size: 2.25rem; }
.font-xxl { font-size: 3rem; }

/* ================
   VISIBILITY HELP
   ================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===========================
   UTILITY CLASSES FOR FLEXBOX
   =========================== */
.flex {
  display: flex;
}
.flex-row {
  flex-direction: row;
}
.flex-column {
  flex-direction: column;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.flex-between {
  justify-content: space-between;
}
.gap-8 { gap:8px; }
.gap-16 { gap:16px; }
.gap-20 { gap:20px; }
.gap-24 { gap:24px; }

/* Ensure no overlap and minimum margin between cards/sections */
.section > * + * {
  margin-top: 20px;
}
.card-container > * + *,
.feature-grid > * + * {
  margin-left: 0;
}

/*
  End of Style Sheet
*/
