/* =======================================================
   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,
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: #F5F5F5;
  color: #13335C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #13335C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C89D57;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #13335C;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}

/* ========================
   GRADIENT BACKGROUNDS
 ========================= */
.hero,
.cta-short,
.cta-primary,
.button,
.card:hover,
.section-highlight {
  background: linear-gradient(90deg, #13335C 0%, #3062A6 100%);
  color: #fff;
}
.cta-primary,
.button {
  background: linear-gradient(90deg, #C89D57 0%, #3062A6 100%);
  color: #fff;
}
.section {
  background: #fff;
}

/* ========================
   CONTAINER LAYOUTS
 ========================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(19,51,92,0.08), 0 1.5px 3px 0 rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px 28px 28px;
  min-width: 250px;
  max-width: 330px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(19,51,92,0.18), 0 3px 6px 0 rgba(0,0,0,0.06);
  transform: translateY(-4px) scale(1.015);
  background: linear-gradient(90deg, #F5F5F5 60%, #e9e6e0 100%);
}
.card img {
  margin-bottom: 12px;
  width: 44px;
  height: 44px;
}

.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: #FAFAFB;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(19,51,92, 0.06);
  margin-bottom: 20px;
  color: #13335C;
  flex-direction: column;
  min-width: 240px;
  max-width: 420px;
}
.testimonial-card span {
  color: #C89D57;
  font-size: 1.4rem;
  letter-spacing: 2px;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   NAVIGATION & HEADER
 ========================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0px 1px 12px 0 rgba(19,51,92,0.06);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 0 12px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  color: #13335C;
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a.cta-primary {
  background: linear-gradient(90deg, #C89D57 0%, #3062A6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 8px 22px;
  box-shadow: 0 2px 8px 0 rgba(200,157,87,0.08);
  border-radius: 10px;
}
.main-nav a.cta-primary:hover {
  background: linear-gradient(90deg, #3062A6 0%, #C89D57 100%);
}
.main-nav a:hover {
  background: #F5F5F5;
  color: #C89D57;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 14px;
}
/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #13335C;
  cursor: pointer;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 12px;
  z-index: 41;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e9e6e0;
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: rgba(19,51,92, 0.93);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.85,-0.01,.25,1.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 24px 20px 10px 22px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 100;
  transition: color 0.22s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #C89D57;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  margin-top: 12px;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 14px 0 14px 6px;
  border-radius: 6px;
  transition: background 0.22s, color 0.22s;
  display: block;
}
.mobile-nav a:hover {
  background: rgba(200, 157, 87, 0.12);
  color: #C89D57;
}
/* Hide main-nav/default nav on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================
   HERO & SECTIONS
 ========================= */
.hero {
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #13335C 0%, #3062A6 100%);
  color: #fff;
  padding: 64px 0 56px 0;
}
.hero h1, .hero p, .hero .cta-primary {
  color: #fff;
}
.hero .subheadline {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #e9e6e0;
}

.cta-short {
  background: linear-gradient(90deg, #13335C 0%, #C89D57 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0px 2px 18px 0 rgba(19,51,92, 0.1);
  margin-bottom: 48px;
}
.cta-short h2, .cta-short p {
  color: #fff;
}

.features {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(19,51,92,.08);
  margin-bottom: 48px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
  margin-top: 18px;
}
.feature-grid li, .feature-grid div {
  background: #FAFAFB;
  border-radius: 14px;
  box-shadow: 0 1px 4px 0 rgba(19,51,92,0.06);
  padding: 24px 20px 20px 20px;
  min-width: 190px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid img {
  width: 40px;
  height: 40px;
}

/* ========================
   CARDS (Service, Team, News, Testimonials)
 ========================= */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-cards .card {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  background: #fff;
  color: #13335C;
  border: 1px solid #F5F5F5;
  box-shadow: 0 3px 14px 0 rgba(19,51,92,0.08);
}
.service-cards .card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.team .text-section ul li {
  margin-bottom: 14px;
}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.news-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(19,51,92,.06);
  padding: 24px 20px 16px 20px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.news-list h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.news-list span {
  font-size: 0.91em;
  color: #7c889b;
}
.insight-highlights {
  background: #F5F5F5;
  border-radius: 10px;
  padding: 18px 18px 12px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 4px 0 rgba(19,51,92,0.05);
}
.insight-highlights h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

/***** Footer *****/
footer {
  background: #13335C;
  color: #fff;
  padding: 44px 0 16px 0;
  margin-top: 64px;
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-brand img {
  width: 52px;
  margin-bottom: 8px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.footer-links a {
  color: #e9e6e0;
  font-size: 0.98rem;
  transition: color 0.17s;
  padding: 2px 0;
}
.footer-links a:hover {
  color: #C89D57;
}
footer h3 {
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: 6px;
}
footer p {
  color: #e9e6e0;
  font-size: 0.97rem;
  margin-bottom: 5px;
}
footer .copyright {
  text-align: center;
  color: #b6bed0;
  margin-top: 16px;
  font-size: 0.97rem;
}

/* Contact Info Icons in Footer */
footer img[src*="icon-"] {
  width: 21px;
  height: 21px;
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: 2px;
  display: inline-block;
}

/* ========================
   BUTTONS & CTAS
 ========================= */
.cta-primary,
.button,
input[type="submit"] {
  display: inline-block;
  border: none;
  border-radius: 7px;
  padding: 12px 32px;
  font-size: 1.14rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: linear-gradient(90deg, #C89D57 0%, #13335C 100%);
  color: #fff;
  box-shadow: 0 3px 10px 0 rgba(19,51,92,0.08);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.26s, box-shadow 0.2s, color 0.16s;
  margin-top: 14px;
}
.cta-primary:hover,
.button:hover,
input[type="submit"]:hover,
.cta-primary:focus,
.button:focus,
input[type="submit"]:focus {
  background: linear-gradient(90deg, #13335C 0%, #C89D57 100%);
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(19,51,92,0.16);
  outline: none;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion > div {
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(19,51,92, 0.08);
  padding: 18px 18px 14px 18px;
  transition: box-shadow 0.24s;
}
.faq-accordion > div:hover {
  box-shadow: 0 6px 20px 0 rgba(200,157,87, 0.10);
}
.faq-accordion h3 {
  font-size: 1.07rem;
  margin-bottom: 7px;
  color: #13335C;
}
.faq-accordion p {
  color: #35547A;
  font-size: 0.99rem;
}

/* Map Placeholder */
.map-placeholder {
  background: #FAFAFB;
  border-radius: 10px;
  padding: 18px 15px 15px 15px;
  margin-top: 18px;
  color: #13335C;
}

/* Thank You Section */
.thank-you-section {
  text-align: left;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(19,51,92,0.10);
  margin: 40px 0;
  padding: 40px 0;
}

/* ========================
   TYPOGRAPHY & SPACING
 ========================= */
.text-section {
  color: #13335C;
  font-size: 1.04rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section ul, .text-section ol {
  margin-top: 12px;
  margin-bottom: 8px;
  padding-left: 20px;
}
.text-section li {
  margin-bottom: 7px;
}
.key-statistics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.key-statistics li {
  background: #F5F5F5;
  border-radius: 7px;
  padding: 8px 16px;
  font-weight: 500;
  color: #13335C;
}
.portfolio-highlights strong {
  color: #13335C;
}

/* =========================
   POLICY & LEGAL SECTIONS
   ========================= */
.policy-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(19,51,92,0.10);
  margin-top: 32px;
  margin-bottom: 54px;
  padding: 40px 20px;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #13335C;
  box-shadow: 0 -2px 18px 0 rgba(19,51,92, 0.09);
  padding: 20px 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: transform 0.33s;
}
.cookie-banner h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #13335C;
  margin-bottom: 4px;
}
.cookie-banner p {
  color: #13335C;
  font-size: 0.97rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 9px 24px;
  font-size: 1.05rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: background 0.22s, color 0.13s;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #3062A6 0%, #C89D57 100%);
}
.cookie-btn.accept:hover {
  background: linear-gradient(90deg, #C89D57 0%, #3062A6 100%);
}
.cookie-btn.reject {
  background: #13335C;
}
.cookie-btn.reject:hover {
  background: #5675AF;
}
.cookie-settings-btn {
  background: #e9e6e0;
  color: #13335C;
  font-weight: 600;
}
.cookie-settings-btn:hover {
  background: #f7ecd9;
  color: #C89D57;
}
.cookie-banner.hide {
  transform: translateY(110%);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,51,92, 0.70);
  align-items: center;
  justify-content: center;
  animation: fadein 0.33s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 34px 24px 28px 24px;
  box-shadow: 0 4px 36px 0 rgba(19,51,92,0.18);
  min-width: 312px;
  max-width: 370px;
  color: #13335C;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: floatup 0.33s;
}
@keyframes floatup {
  from { transform: translateY(60px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.26rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 9px;
}
.cookie-modal input[type='checkbox'],
.cookie-modal input[type='radio'] {
  accent-color: #C89D57;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #13335C;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.17s;
  z-index: 1;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #F5F5F5;
  color: #C89D57;
}
.cookie-modal .cookie-category {
  padding: 11px 0;
  border-bottom: 1px solid #ececec;
  font-size: 1.03rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}

/* =================================
   RESPONSIVE DESIGN (mobile-first)
   ================================= */
@media (max-width: 990px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  .footer .container {
    padding: 0 8px;
  }
  .footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .section, .policy-section, .thank-you-section {
    padding: 24px 8px;
    margin-bottom: 35px;
  }
  .content-wrapper, .feature-grid, .service-cards, .news-list, .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid,
  .key-statistics {
    gap: 15px;
  }
  .main-nav {
    padding: 9px 0 7px 0;
  }
  .cta-primary, .button, input[type="submit"] {
    width: 100%;
    font-size: 1rem;
    padding: 11px 0;
  }
  .testimonial-card {
    min-width: unset;
    max-width: unset;
  }
  .card {
    min-width: unset;
    max-width: unset;
    padding: 20px 12px 16px 12px;
  }
  .hero {
    padding: 40px 0 28px 0;
  }
  .footer .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 540px) {
  .cookie-modal {
    min-width: 80vw;
    padding: 20px 9px;
  }
}

/* ==========================
   MICRO-INTERACTIONS/ANIMATION
   ========================== */
.cta-primary, .button, input[type="submit"], .main-nav a, .mobile-nav a {
  transition: background 0.24s, color 0.13s, box-shadow 0.18s, transform 0.17s;
}
.card, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.23s, background 0.20s, color 0.16s;
}
.feature-grid li, .feature-grid div {
  transition: box-shadow 0.23s, background 0.23s;
}

/* Focus indicators for accessibility */
a:focus, .button:focus, .cta-primary:focus, input[type="submit"]:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-btn:focus, .cookie-settings-btn:focus, .cookie-modal-close:focus {
  outline: 2px dashed #C89D57;
  outline-offset: 2px;
}

/* =============================
   UTILITY & ALIGNMENT CLASSES
 ============================== */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* Hide visually but keep accessible for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/*************************************************************
  END OF STYLES
*************************************************************/
