/* =======================
  CSS RESET & BASE STYLES
======================= */
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, 
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;
}

/* Set base font and brand colors */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F8FA;
  color: #222;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* Apply premium fonts for headlines */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #1A4966;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {font-size: 2.4rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.3rem; margin-bottom: 10px; font-weight: 600;}
h4, h5, h6 {font-size: 1rem;}

p, li, a, blockquote, span {
  font-size: 1rem;
}
p {
  margin-bottom: 14px;
  color: #222;
}

ol, ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
blockquote {
  font-style: italic;
  color: #254257;
  border-left: 4px solid #FFD700;
  padding-left: 16px;
  margin-bottom: 10px;
}
strong {
  color: #1A4966;
  font-weight: 700;
}

img {
  max-width: 100%;
  border-radius: 5px;
}

/* ===============
    LINKS & BUTTONS
================== */
a {
  color: #1A4966;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #A3C14A;
  outline: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  background: #1A4966;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 14px 0 rgba(40,53,62,0.07);
  margin-top: 20px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}
.btn-primary:after {
  content: '';
  position: absolute;
  left: 0;top: 0;width: 100%;height: 100%;
  background: rgba(212,180,104,.12);
  opacity: 0;
  transition: opacity .18s;
  border-radius: 30px;
  z-index: 0;
}
.btn-primary:hover:after,
.btn-primary:focus:after {
  opacity: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A3C14A;
  color: #222;
  box-shadow: 0 4px 18px 0 rgba(163,193,74,0.15);
}

button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background .16s, color .16s;
}

@media (max-width: 480px) {
  h1{font-size:1.6rem;}
  h2{font-size:1.2rem;}
  h3{font-size:1.08rem;}
}

/* ==============
  LAYOUT WRAPPERS
============== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 4px rgba(26,73,102,0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Hero Section */
.hero-section {
  background: #1A4966;
  color: #fff;
  padding: 72px 0 56px 0;
}
.hero-section .container {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.hero-section .content-wrapper {
  background: transparent;
  box-shadow: none;
  color: #fff;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}
.hero-section h1,
.hero-section p {
  color: #fff;
}
.hero-section .btn-primary {
  background: #A38C4A;
  color: #fff;
}
.hero-section .btn-primary:hover {
  background: #FFD700;
  color: #254257;
}

/* ===========
 NAVIGATION
=========== */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(26,73,102,0.05);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  min-height: 68px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  font-size: 1rem;
  color: #1A4966;
  padding: 7px 14px;
  font-weight: 500;
  position: relative;
  border-radius: 8px;
  transition: color .16s, background .13s;
  text-align: center;
  z-index: 1;
}
.main-nav a.btn-primary {
  margin-left: auto;
  color: #fff;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: #f5eacf;
  color: #A38C4A;
}
.main-nav img {
  height: 38px;
  vertical-align: middle;
  margin-right: 8px;
}

/* Responsive main nav */
@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
    padding: 10px 8px;
  }
  .main-nav a {
    font-size: 0.97rem;
    padding: 7px 8px;
  }
  .main-nav img {
    height: 33px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .main-nav a.btn-primary {
    display: none;
  }
}

/* ====================
  MOBILE MENU BURGER
===================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  color: #1A4966;
  cursor: pointer;
  position: absolute;
  top: 18px; right: 24px;
  z-index: 150;
  transition: color .14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFD700;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(26,73,102,0.95);
  transform: translateX(-100vw);
  transition: transform .32s cubic-bezier(.7,.3,.2,1);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 42px 28px 24px 32px;
  box-shadow: 0 8px 44px 0 rgba(40,53,62,0.24);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #FFD700;
  border: none;
  margin-bottom: 36px;
  z-index: 5001;
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 50%;
  transition: background .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #fff1c6;
  color: #1A4966;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 0 11px 8px;
  border-radius: 6px;
  transition: background .14s,color .17s;
  width: 100%;
  position: relative;
  z-index: 10;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,215,0,0.13);
  color: #FFD700;
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================
    CONTENT SECTIONS
=================== */
/* Mandatory flex spacing classes */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 16px 2px rgba(26,73,102,0.07);
  border-radius: 14px;
  padding: 22px 20px;
  min-width: 260px;
  max-width: 390px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  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: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f8fa;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(26,73,102,0.05);
  margin-bottom: 20px;
  border-left: 6px solid #FFD700;
  flex-wrap: wrap;
  flex-direction: row;
}
.testimonial-card blockquote {
  color: #222;
  font-size: 1.2rem;
  border: none;
  background: none;
  padding-left: 0;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #1A4966;
}
.testimonial-card span {
  color: #FFD700;
  margin-left: 10px;
  font-size: 1.18rem;
  letter-spacing: 0.06em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA Section */
.cta {
  background: #1A4966;
  color: #fff;
  margin-bottom: 0;
  padding: 46px 0 44px 0;
}
.cta .content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: center;
  align-items: center;
}
.cta h2,
.cta p { color: #fff; }
.cta .btn-primary {
  background: #FFD700;
  color: #1A4966;
  font-weight: 700;
}
.cta .btn-primary:hover {
  background: #A3C14A;
  color: #fff;
}

/* Section Lists & Cards */
.service-cards,
.opportunity-overview-grid,
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card,
.case-study {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 2px rgba(26,73,102,0.06);
  padding: 26px 20px;
  flex: 1 1 270px;
  min-width: 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-left: 4px solid #FFD700;
}
.case-study h3,
.service-card h3 {
  font-size: 1.15rem;
  color: #1A4966;
}

@media (max-width: 920px) {
  .service-cards,
  .opportunity-overview-grid,
  .case-study-list {
    flex-direction: column;
    gap: 20px;
  }
  .service-card, .case-study {
    min-width: unset;
    max-width: 100%;
  }
}

/* Icon lists */
ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
ul > li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 700px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
  .section { padding: 24px 8px; margin-bottom: 36px; }
}

/* ============
    FOOTER
============ */
footer {
  background: #1A4966;
  color: #fff;
  padding: 0;
  margin-top: 64px;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 0 20px 0;
  margin: 0;
}
footer img {
  height: 38px;
  margin-bottom: 10px;
  display: block;
}
footer p, footer a {
  color: #fff;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.footer-nav a {
  color: #FFD700;
  font-size: 1rem;
  text-decoration: underline;
  transition: color .13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}

@media (max-width: 700px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    padding: 20px 0 10px 0;
  }
  footer p,footer a {
    font-size: .97rem;
  }
}

/* =============
 MICRO INTERACTIONS
============== */
.card,
.service-card,
.case-study,
.testimonial-card {
  transition: box-shadow .17s, transform .14s;
}
.card:hover,
.service-card:hover,
.case-study:hover,
.testimonial-card:hover {
  box-shadow: 0 8px 26px 3px rgba(163,193,74,0.11);
  transform: translateY(-5px) scale(1.012);
}

a.btn-primary:active,
.btn-primary:active {
  transform: scale(0.98);
}
/* Client quick links */
.quick-links {
  background: #fdf7e6;
  border-radius: 7px;
  padding: 10px 13px;
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.quick-links ul {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.quick-links li {
  margin-bottom: 0;
}

/* Decorative detail for Luxury/Premium Accent */
.card, .service-card, .case-study, .testimonial-card {
  border-left: 4px solid #FFD700;
}

/* Static Map Embed */
.static-map-embed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 8px;
  background: #f8fafb;
  border-radius: 10px;
  padding: 13px;
}
.static-map-embed img {
  width: 90px;
  height: auto;
}
.static-map-embed p {
  font-size: 0.95rem;
  color: #222;
}

/* ================
  COOKIE CONSENT BANNER
================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 30px;
  background: #fff;
  box-shadow: 0 -5px 42px 0 rgba(26,73,102,0.09);
  z-index: 9000;
  padding: 26px 24px 22px 24px;
  border-top: 2px solid #FFD700;
  font-size: 1rem;
  justify-content: center;
  transition: transform .33s cubic-bezier(.5,.3,.2,1);
}
.cookie-banner.hide {
  transform: translateY(140px);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  max-width: 500px;
  color: #254257;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border-radius: 6px;
  border: none;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background .13s, box-shadow .13s, color .10s;
}
.cookie-banner .accept {
  background: #A3C14A;
  color: #fff;
  box-shadow: 0 1px 8px 0 rgba(163,193,74,0.12);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #85a038;
}
.cookie-banner .reject {
  background: #1A4966;
  color: #fff;
  border: 1px solid #254257;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff;
  color: #1A4966;
  border: 1px solid #A38C4A;
}
.cookie-banner .settings {
  background: #FFD700;
  color: #1A4966;
  border: 1px solid #A3C14A;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #A3C14A;
  color: #fff;
}
@media (max-width:800px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 19px 6vw 14px 6vw;
    font-size: 0.98rem;
    align-items: stretch;
  }
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-53%) scale(1);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 48px 0 rgba(26,73,102,0.27);
  z-index: 9100;
  padding: 36px 28px 30px 30px;
  min-width: 330px;
  max-width: 98vw;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .23s, transform .24s;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-44%) scale(.98);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #1A4966;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-cat input[type="checkbox"] {
  accent-color: #A3C14A;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-cat label {
  font-weight: 500;
  color: #1A4966;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.cookie-modal button {
  padding: 9px 21px;
  border-radius: 5px;
  border: none;
  background: #1A4966;
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background .13s,color .13s;
}
.cookie-modal button.cancel {
  background: #fff;
  color: #1A4966;
  border: 1px solid #A3C14A;
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  background: #f5eacf;
  color: #1A4966;
}
.cookie-modal button.save {
  background: #A3C14A;
  color: #fff;
}
.cookie-modal button.save:hover, .cookie-modal button.save:focus {
  background: #FFD700;
  color: #1A4966;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: unset;
    padding: 24px 5vw 18px 5vw;
    font-size: .97rem;
  }
}

/* ================
   UTILITY CLASSES
================= */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* ================
   Accessibility
================= */
:focus {
  outline: 2px solid #FFD700;
  outline-offset: 3px;
}

[aria-current="page"], a.active {
  border-bottom: 2.5px solid #FFD700;
  font-weight: 700;
}

/* ================
   SPECIAL PAGE DETAILS
================= */
.opportunity-overview-grid > div {
  background: #fff;
  padding: 21px 14px 18px 24px;
  border-radius: 11px;
  box-shadow: 0 3px 16px 1px rgba(26,73,102,0.04);
  border-left: 4px solid #FFD700;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 820px) {
  .opportunity-overview-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* Step-by-step lists */
ol {
  counter-reset: steps;
}
ol li {
  counter-increment: steps;
  position: relative;
  margin-bottom: 12px;
  padding-left: 32px;
  line-height: 1.6;
}
ol li:before {
  content: counter(steps) ".";
  position: absolute;
  left: 0; top: 0;
  color: #FFD700;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ================
   TABLET CAPTURES
================= */
@media (max-width: 1023px) {
  .container {
    max-width: 92vw;
  }
  .content-wrapper {
    padding: 30px 10px;
    gap: 14px;
    margin-bottom: 40px;
  }
  .section { padding: 30px 10px; }
}

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

/* ================
   END CSS
================= */
