/* ===================================================
   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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #263143;
}
ol, ul {
  list-style: none;
}
a { color: inherit; text-decoration: none; outline: none; transition: color 0.2s; }
button, input, textarea, select { font-family: inherit; outline: none; border: none; background: none; }
img { max-width: 100%; height: auto; display: block; border: none; }
/* Box Sizing for all */
*, *:before, *:after { box-sizing: inherit; }

/* ===================================================
   FONT IMPORTS (Google Fonts)
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #204870;
  --primary-dark: #285D8F;
  --secondary: #ffffff;
  --secondary-light: #f4f7fa;
  --accent: #F9B233;
  --accent-dark: #c88d11;
  --shadow: 0 2px 16px 0 rgba(40,93,143,0.06);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--secondary);
  color: #263143;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.16;
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}

p {
  margin-bottom: 16px;
  color: #263143;
  font-size: 1rem;
  line-height: 1.7;
}
strong, b {
  color: var(--primary);
  font-weight: 700;
}

/* Links & CTA */
a, .cta-btn {
  color: var(--primary-dark);
  transition: color 0.2s;
}
.cta-btn {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 12px 32px;
  box-shadow: 0 2px 14px 0 rgba(249, 178, 51, 0.08);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.2s;
  display: inline-block;
  margin-top: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(249,178,51,0.13);
}
a:hover, .main-nav a:hover, .footer-nav a:hover, .mobile-nav a:hover {
  color: var(--accent);
}

/* ===================================================
   LAYOUT CONTAINERS & SPACING
=================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .section {
    padding: 50px 0;
    margin-bottom: 70px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 0;
}
.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;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff9f2;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 16px 0 rgba(40,93,143,0.05);
  margin-bottom: 24px;
  border-left: 5px solid var(--accent);
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(40,93,143,0.12);
}
.testimonial-card p {
  margin-bottom: 2px;
  color: #444;
  font-size: 1.08rem;
}
.testimonial-author {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 4px;
}

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

/* Hero Section */
.hero {
  background: #FDE9D0;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  padding: 48px 0 32px 0;
  text-align: left;
  box-shadow: 0 6px 24px 0 rgba(40,93,143,0.07);
  margin-bottom: 42px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
@media (min-width: 650px) {
  .hero {
    padding: 64px 0 52px 0;
    margin-bottom: 64px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1.3rem;
  }
}


/* ===================================================
   NAVIGATION (Desktop & Mobile)
=================================================== */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(40,93,143,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 12px 20px;
  min-height: 68px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
}
.main-nav a {
  font-size: 1.05rem;
  padding: 8px 0;
  color: var(--primary-dark);
  border-radius: 9px;
  transition: color 0.18s, background 0.16s;
  position: relative;
  font-weight: 500;
}
.main-nav .cta-btn {
  margin-left: 12px;
  margin-top: 0;
}
.mobile-menu-toggle {
  display: inline-flex;
  font-size: 2rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 0 0 rgba(249,178,51,0);
  transition: background 0.17s, color 0.17s, box-shadow 0.22s;
  z-index: 110;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 2px 14px 2px rgba(249,178,51,0.13);
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Hide nav on mobile */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
}

/* -----------------------------------------------
  MOBILE MENU (Burger Navigation)
------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(32,72,112, 0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.48,.14,.68,1.15);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 2.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 24px 24px 0;
  border: none;
  cursor: pointer;
  z-index: 1210;
  box-shadow: 0 2px 14px 0 rgba(249,178,51,0.11);
  transition: background 0.14s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent-dark);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 40px;
  gap: 22px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  width: 100%;
  border-radius: 7px;
  transition: background 0.13s, color 0.17s;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav a:last-child {
  border-bottom: none;
}

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

/* ===================================================
   FOOTER
=================================================== */
footer {
  background: #f6f8fa;
  padding: 32px 0 24px 0;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  box-shadow: 0 -7px 32px 0 rgba(40,93,143,0.07);
  color: var(--primary);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 10px 0;
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.87;
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: 6px;
  padding: 2px 8px;
  transition: background 0.14s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: #fff;
}
footer p {
  color: #616161;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===================================================
   CARDS, FEATURES, SERVICES
=================================================== */
.features-grid, .benefits-grid, .service-cards, .team-biographies, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.features-grid, .benefits-grid {
  align-items: flex-start;
  justify-content: flex-start;
}
.feature, .benefit, .service-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(40,93,143,0.06);
  padding: 32px 22px 28px 22px;
  min-width: 230px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.14s;
  margin-bottom: 12px;
  border: 1.5px solid #f7e7c8;
}
.feature img, .benefit img {
  height: 48px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff9f6;
  box-shadow: 0 1px 6px 0 rgba(249,178,51,0.09);
  padding: 6px;
}
.feature:hover, .benefit:hover, .service-card:hover {
  box-shadow: 0 8px 36px rgba(40,93,143,0.14);
  transform: translateY(-4px) scale(1.012);
  border-color: var(--accent);
}
.feature h3, .benefit h3, .service-card h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.feature p, .benefit p, .service-card p {
  color: #4b4b4b;
  margin-bottom: 4px;
  font-size: 1rem;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 12px;
}

.service-card {
  border-left: 5px solid var(--primary);
}

@media (max-width: 900px) {
  .features-grid, .benefits-grid, .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .benefit, .service-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* -----------------------------------------------
   BLOG LIST & NEWSLETTER
------------------------------------------------- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-list li {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 24px 20px;
  border-left: 4px solid var(--accent);
  transition: box-shadow .18s;
}
.blog-list li:hover {
  box-shadow: 0 8px 32px rgba(249,178,51,0.15);
}
.blog-list h3 {
  margin-bottom: 8px;
  font-size: 1.13rem;
  color: var(--primary-dark);
}
.blog-list a {
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 6px;
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  border-radius: 3px;
  transition: background 0.13s, color 0.13s;
}
.blog-list a:hover {
  color: #fff;
  background: var(--accent);
  border-bottom: 2px solid var(--accent-dark);
}
.categories-menu {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.categories-menu strong {
  color: var(--primary-dark);
}
.categories-menu span {
  background: #fffaeb;
  color: var(--primary);
  padding: 3px 14px;
  border-radius: 15px;
  font-size: 0.94rem;
  font-family: var(--font-display);
  margin-left: 6px;
  line-height: 1.4;
}

/* Newsletter Form */
.newsletter-form {
  background: #FDE9D0;
  border-radius: var(--radius);
  padding: 32px 24px 22px 24px;
  box-shadow: 0 2px 16px rgba(40,93,143,0.045);
  max-width: 400px;
  margin: 0 auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form p {
  margin-bottom: 12px;
}
.newsletter-form input[type="email"] {
  padding: 10px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid #e7e7e7;
  margin-bottom: 8px;
  width: 100%;
}
.newsletter-form button[type="submit"] {
  font-family: var(--font-display);
  background: var(--accent);
  color: var(--primary);
  border-radius: 12px;
  padding: 10px 26px;
  font-weight: 700;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px 0 rgba(249,178,51,0.07);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.16s, color 0.14s, border 0.14s;
}
.newsletter-form button[type="submit"]:hover, 
.newsletter-form button[type="submit"]:focus {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

/* ===================================================
   TYPOGRAPHY: FAQ, LISTS & ACCORDION
=================================================== */
ul, ol {
  margin-bottom: 18px;
  padding-left: 18px;
  color: #444;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 8px;
  line-height: 1.7;
}
ul li strong, ol li strong {
  color: var(--primary);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
.faq-accordion h3 {
  cursor: pointer;
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 0;
  transition: color 0.15s;
}
.faq-accordion h3:after {
  content: '+';
  display: inline-block;
  margin-left: 10px;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1em;
}
.faq-accordion h3.open:after {
  content: '-';
}
.faq-accordion p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(.12, .56, .56, 1);
  background: #fff9f2;
  margin-bottom: 0;
  border-radius: 11px;
  padding: 0 14px;
}
.faq-accordion p.open {
  max-height: 300px;
  padding: 12px 14px 14px 14px;
  margin-bottom: 4px;
}

.text-section {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #222;
  line-height: 1.7;
}
  
/* ===================================================
   TEAM & BIOGRAPHY
=================================================== */
.team-biographies {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.company-values {
  background: #fff9f0;
  border-radius: var(--radius);
  padding: 22px 20px 10px 20px;
  box-shadow: 0 2px 16px rgba(40,93,143,0.06);
  margin: 24px 0 0 0;
}
.company-values h3 {
  color: var(--primary);
  font-family: var(--font-display);
}
.company-values ul {
  padding-left: 16px;
}

/* ===================================================
   FORMS (Contact, Newsletter)
=================================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
label {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.04rem;
  margin-bottom: 4px;
}
input[type=text], input[type=email], textarea {
  border: 1.7px solid #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 7px;
  outline: none;
  transition: border 0.15s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: var(--primary);
}
textarea {
  min-height: 110px;
  resize: vertical;
}
button[type=submit] {
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  padding: 13px 32px;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, border 0.14s;
}
button[type=submit]:hover, button[type=submit]:focus {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

/* Thank You, Misc Utility */
ul li {
  list-style-type: disc;
  margin-left: 18px;
  margin-bottom: 9px;
}
@media (max-width: 600px) {
  .hero,
  footer {
    border-radius: 0 0 28px 28px;
    padding-left: 0;
    padding-right: 0;
  }
  .container {
    padding: 0 8px;
  }
}

/* =============================================================================
   COOKIE CONSENT BANNER & COOKIE SETTINGS MODAL
============================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff9f0;
  color: var(--primary-dark);
  box-shadow: 0 -2px 16px 0 rgba(40,93,143,0.11);
  padding: 16px 16px 20px 16px;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  transition: transform .38s cubic-bezier(.41,.19,.62,1.25);
  transform: translateY(0%);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner p {
  color: #263143;
  font-size: 1.02rem;
  margin-bottom: 2px;
  text-align: center;
}
.cookie-btns {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 9px 20px;
  border-radius: 8px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 6px 0 rgba(249,178,51,0.09);
  cursor: pointer;
  transition: background 0.13s, color 0.11s, border 0.13s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-btn.settings {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent-dark);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ffe3b3;
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary-dark);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(32,72,112, 0.56);
  z-index: 2300;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff9f2;
  border-radius: 22px;
  padding: 38px 24px 24px 24px;
  min-width: 295px;
  max-width: 95vw;
  box-shadow: 0 4px 38px 0 rgba(40,93,143,0.16), 0 0 0 2px var(--accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: relative;
  animation: modalPopIn 0.34s cubic-bezier(.32,.59,.59,1.22);
}
@keyframes modalPopIn {
  from { transform: scale(0.94) translateY(20px); }
  to { transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 16px;
  text-align: center;
}
.cookie-category {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.04rem;
  color: var(--primary);
  margin-bottom: 13px;
  border-radius: 8px;
  padding: 6px 3px;
}
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 22px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #f0f0f0;
  border-radius: 25px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .toggle-slider {
  background: var(--accent);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(40,93,143,0.05);
  transition: transform 0.19s;
}
.cookie-toggle input:checked + .toggle-slider:before {
  transform: translateX(16px);
  background: var(--primary);
}
.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.cookie-modal .close-modal {
  position: absolute; right: 15px; top: 15px;
  background: transparent; border: none;
  color: var(--primary-dark);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.12s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus { opacity: 0.98; color: var(--accent-dark); }

/* Ensure consent banner is always above footer */
@media (max-width: 540px) {
  .cookie-banner {
    font-size: 0.97rem;
    padding: 11px 2px 16px 2px;
  }
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    min-width: 0;
  }
}

/* ===================================================
   RESPONSIVE LAYOUT & FLEX ADAPTATIONS (Mobile First)
=================================================== */
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .content-grid, .features-grid, .service-cards, .benefits-grid, .team-biographies, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .service-cards, .features-grid, .benefits-grid {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .feature, .benefit, .service-card {
    padding: 20px 11px 17px 12px;
    font-size: 0.98rem;
  }
}

/* =============== Utility =============== */
.mini-team-bio {
  background: #f6f8fa;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 1px 7px 0 rgba(40,93,143,0.04);
  margin-top: 18px;
}

/* Specific helpers for About and Team */
.about-team {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

/* COLOR CONTRAST FOR TESTIMONIALS: force dark text & accessibility */
.testimonial-card, .short-testimonials .testimonial-card, .testimonial-author {
  background: #fff9f2 !important;
  color: #222 !important;
  border-left: 5px solid var(--accent);
  font-family: var(--font-body);
  box-shadow: 0 2px 18px 0 rgba(249,178,51,0.06);
}
.testimonial-card .testimonial-author {
  color: var(--primary) !important;
  font-family: var(--font-display);
}

/* =============== Misc Spacings =============== */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child) {
  margin-bottom: 20px;
}
.content-grid > * {
  min-width: 0;
  flex: 1 1 260px;
}

/* =====================
   Accessibility
======================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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

/* =====================
   Animations & Micro-interactions
======================== */
.card, .feature, .benefit, .service-card, .testimonial-card, .blog-list li, .company-values {
  transition: box-shadow 0.24s, transform 0.18s, border 0.17s;
  will-change: box-shadow, transform;
}
.cta-btn, .cookie-btn, .cookie-btns button, button[type=submit], .newsletter-form button[type=submit] {
  transition: background 0.18s, color 0.16s, box-shadow 0.19s, border 0.12s;
}

/* =====================
   Misc Touchups
======================== */
::-webkit-input-placeholder { color: #ccc; opacity: 1; }
::-moz-placeholder { color: #ccc; opacity: 1; }
:-ms-input-placeholder { color: #ccc; opacity: 1; }
::placeholder { color: #ccc; opacity: 1; }

/**** End of CSS file ****/
