/* -------------------------
   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,
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, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #222;
  background: #f5f7fa;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #073a5a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #f8b132;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
  padding: 8px 12px;
  border: 1px solid #c0c9d1;
  background: #fff;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: #073a5a;
}

/* ------------------------------
   BRAND FONTS & TYPOGRAPHY
------------------------------ */
h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #073a5a;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 16px;
  color: #073a5a;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #073a5a;
}
.subheadline {
  font-size: 1.125rem;
  color: #265477;
  line-height: 1.5;
  margin-bottom: 24px;
}
p, li, label {
  font-size: 1rem;
  color: #222;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #073a5a;
}
.highlight {
  color: #f8b132;
  font-weight: 600;
}

/* Typography responsive styles */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .subheadline {
    font-size: 1rem;
  }
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(7,58,90,0.04), 0 1.5px 8px rgba(40,60,79,0.05);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(22,36,51,0.10);
  padding: 32px 24px;
  flex: 1 1 320px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f7fa;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(80,90,110,0.05);
  border-left: 4px solid #f8b132;
  min-width: 260px;
  max-width: 420px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #24394c;
  margin-bottom: 0;
}
.citation {
  font-size: 1rem;
  color: #073a5a;
  font-weight: 500;
  align-self: flex-end;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}

.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.feature {
  flex: 1 1 300px;
  min-width: 220px;
  padding: 24px 20px;
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(40,60,79,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature:hover {
  box-shadow: 0 6px 28px rgba(70, 70, 90, 0.11);
  transform: translateY(-2px) scale(1.012);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card styles (general) */
.card, .feature, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(7,58,90,0.13);
  transform: translateY(-3px) scale(1.01);
}

@media (max-width: 900px) {
  .feature-grid, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}

/* --------------------------
   HEADER & NAVIGATION
--------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 9px rgba(12,54,81,0.04);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 888;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.24rem;
  color: #073a5a;
  font-weight: 700;
  padding: 10px 0;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0 6px 0;
  color: #073a5a;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: #f8b132;
  border-bottom: 2px solid #f8b132;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #073a5a;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  margin-left: 16px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(9,47,99,0.08);
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.14s;
  cursor: pointer;
  text-align: center;
  outline: none;
  gap: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #f8b132;
  color: #073a5a;
  transform: translateY(-1px) scale(1.022);
  box-shadow: 0 6px 24px rgba(236,186,33,0.13);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 6px 14px 6px 14px;
  color: #073a5a;
  margin-left: 16px;
  border: 1px solid #e9eef2;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 1203;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e4e9ed;
  box-shadow: 0 2px 7px rgba(7, 58, 90, 0.08);
}

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .cta-btn {
    margin-left: 0;
  }
}

/* -------------------------
   MOBILE MENU OVERLAY
------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,58,90,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.87,-0.41,0,.99);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 24px 32px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f8b132;
}
.mobile-nav {
  width: 100%;
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.28rem;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 12px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f8b132;
  color: #073a5a;
}
@media (max-width: 520px) {
  .mobile-nav {
    padding: 24px 18px;
  }
  .mobile-menu-close {
    margin: 20px 12px 0 0;
  }
}

/* ---------------------
   HERO SECTION
---------------------- */
.hero {
  background: #f5f7fa;
  border-radius: 0 0 22px 22px;
  margin-bottom: 60px;
  padding: 60px 0 45px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: #073a5a;
  font-size: 2.3rem;
}
@media (max-width: 900px) {
  .hero {
    padding: 32px 0 28px 0;
    margin-bottom: 38px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
}

/* ---------------------
   ABOUT / TEXT-IMG
---------------------- */
.about .text-section, .contact .text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ----------------------
   SERVICE TABLE & LISTS
------------------------ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 18px 0 28px 0;
  box-shadow: 0 1.5px 12px rgba(7,58,90,0.06);
  border-radius: 12px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 14px 20px;
  font-size: 1.05rem;
  border-bottom: 1px solid #eaeaef;
  text-align: left;
}
.pricing-table th {
  background: #f5f7fa;
  color: #073a5a;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  .pricing-table th, .pricing-table td {
    font-size: 0.98rem;
    padding: 10px 8px;
  }
}

/* --------------------
   CTA SECTIONS
--------------------- */
.cta {
  background: #e4e9ed;
  border-radius: 14px;
  padding: 44px 0 40px 0;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(7,58,90,0.04);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta .cta-btn {
  margin-top: 12px;
}

/* --------------------
   LEGAL PAGES
--------------------- */
.legal .content-wrapper, .legal .text-section {
  gap: 24px;
}
.legal .text-section ul {
  margin-left: 24px;
  list-style: disc;
  color: #073a5a;
  margin-bottom: 16px;
}
.legal .text-section h2 {
  margin-top: 18px;
  margin-bottom: 12px;
}

/* ---------------------------
   FOOTER
---------------------------- */
footer {
  background: #fff;
  border-top: 2px solid #f8b132;
  margin-top: 50px;
  padding: 32px 0 16px 0;
  color: #222;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 auto;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a {
  color: #073a5a;
  font-weight: 500;
  font-size: 1rem;
  padding: 0 0 3px 0;
  border-bottom: 1.5px solid transparent;
  transition: border 0.12s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #f8b132;
  border-bottom: 1.5px solid #f8b132;
}
.footer-contact {
  font-size: 0.98rem;
  color: #495e6a;
  max-width: 350px;
}
.footer-contact a {
  color: #073a5a;
  text-decoration: underline;
  word-break: break-word;
}
.footer-contact a:hover {
  color: #f8b132;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-logo{margin-bottom:12px;}
}

/* -------------------------------
   COOKIES CONSENT BANNER + MODAL
-------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #073a5a;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -3px 14px rgba(40,60,79,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 8px;
  font-size: 1.05rem;
  gap: 24px;
  animation: slideInBottom 0.38s cubic-bezier(.62,-0.1,.32,1.06);
}
@keyframes slideInBottom {
  from {transform: translateY(80%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 20px;
}
.cookie-btn, .cookie-settings-btn {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: 1rem;
  background: #f8b132;
  color: #073a5a;
  margin: 0;
  transition: background 0.16s, color 0.15s, box-shadow 0.13s;
  min-width: 120px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(240, 170, 40, 0.10);
}
.cookie-btn.reject {
  background: #eee;
  color: #073a5a;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #f9c44d;
  color: #073a5a;
  box-shadow: 0 7px 24px rgba(209, 153, 36, 0.14);
}
.cookie-btn.reject:hover {
  background: #e4e9ed;
}
.cookie-settings-btn {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-settings-btn:hover {
  background: #fff;
  color: #073a5a;
}

@media (max-width:540px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    padding: 15px 8px 12px 14px;
  }
  .cookie-banner .button-group {
    margin-left: 0;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.42);
  z-index: 3029;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  min-width: 330px;
  max-width: 96vw;
  box-shadow: 0 8px 40px rgba(7,58,90,0.18);
  padding: 38px 24px 20px 24px;
  color: #073a5a;
  animation: fadeInScale 0.38s cubic-bezier(.4,-.4,0,1.18);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1);   }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 18px;
  color: #073a5a;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #f8b132;
}
.cookie-category .essential {
  color: #aaa;
  font-size: 0.99rem;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #f8b132;
  color: #073a5a;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .modal-actions button.cancel {
  background: #eee;
  color: #073a5a;
}
.cookie-modal .modal-actions button:hover {
  background: #073a5a;
  color: #fff;
}
@media (max-width:450px){
  .cookie-modal {
    min-width:0;
    padding:18px 8px 12px 8px;
  }
  .cookie-modal h2 {
    font-size:1.13rem;
    margin-bottom:11px;
  }
}

/* -----------------------------
   PUBLICATION FILTER
----------------------------- */
.publication-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.publication-list {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-publications {
  background: #f5f7fa;
  color: #073a5a;
  padding: 12px 20px;
  border-left: 4px solid #f8b132;
  border-radius: 7px;
  margin-top: 8px;
  font-size: 1.08rem;
}

/* -----------------------------
   NEWS, EVENTS, INSIGHTS
----------------------------- */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

/* ---------------------------------
   MAP / ADDRESS IMAGE
---------------------------------- */
.address-map {
  min-width: 160px;
  max-width: 280px;
  align-self: center;
}
.address-map img {
  width: 80px;
  height: 80px;
}

@media (max-width: 900px) {
  .address-map {
    margin-top: 14px;
  }
}

/* ----------------------------
   MISCELLANEOUS SPACING
----------------------------- */
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 10px;
}
section {
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 20px;
  }
}

/* --------------------------------------------
   FADE-IN ANIMATION FOR SECTIONS ON LOAD
--------------------------------------------- */
.section, .card, .feature, .testimonial-card, .cta {
  opacity: 0;
  animation: fadeInSection 0.67s cubic-bezier(.32,.91,.25,1.19) 0.13s forwards;
}
@keyframes fadeInSection{
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Avoid last section too close to footer */
main > section:last-child {
  margin-bottom: 60px;
}

/* -----------------------------
   UTILITY CLASSES/SPECIALS
----------------------------- */
.muted {
  color: #758295;
}

/* --------------------------------
   SCROLLBAR STYLING (modern only)
--------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #e9eef2;
}
::-webkit-scrollbar-thumb {
  background: #d4dbe2;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b2bfcf;
}

/* -------------------------
   MEDIA QUERIES
-------------------------- */
@media (max-width: 540px) {
  .feature, .card {
    padding: 14px 6px;
    min-width: 0;
  }
  .testimonial-card {
    padding: 10px 5px;
    min-width: 0;
    max-width: 100vw;
  }
}

@media (max-width:400px) {
  .container {
    padding:0 4px;
  }
  .feature, .card, .section {
    border-radius: 8px;
  }
}

/* End CSS */
