/* 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,
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: #F0EFEA;
  color: #19334D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
:focus {
  outline: 2px solid #AAC44B;
}

/* BRAND FONTS & TYPOGRAPHY ------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  color: #19334D;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p, li, blockquote, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #1d2e3a;
  letter-spacing: 0;
}
strong {
  font-weight: 700;
  color: #19334D;
  letter-spacing: 0.02em;
}
blockquote {
  border-left: 5px solid #AAC44B;
  margin: 0 0 20px 0;
  padding: 8px 20px 8px 20px;
  background: #f5f6f0;
  font-style: italic;
  color: #19334D;
}

/* LAYOUT CONTAINERS ------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .content-card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(25,51,77,0.09);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.18s;
}
.card:hover, .content-card:hover {
  box-shadow: 0 6px 28px 0 rgba(25,51,77,0.19);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 6px 32px 0 rgba(25,51,77,0.12);
  border-left: 6px solid #AAC44B;
  color: #19334D;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #19334D;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 500;
  color: #495a70;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  max-width: 730px;
  margin: 0 auto;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.contact-details img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

/* HERO + CTA SECTION ------------- */
.hero {
  background: #19334D;
  color: #fff;
  padding: 68px 0;
  border-radius: 0 0 32px 32px;
  margin-bottom: 40px;
  position: relative;
}
.hero h1,
.hero p {
  color: #fff;
}
.hero .cta-primary {
  margin-top: 28px;
}
.cta-section {
  background: #AAC44B;
  padding: 44px 0;
  border-radius: 28px;
  margin-bottom: 60px;
  box-shadow: 0 8px 28px 0 rgba(151,176,36,0.09);
}
.cta-section h2, .cta-section p {
  color: #19334D;
}

/* NAVIGATION (DESKTOP) ------------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  background: #fff;
  position: relative;
  z-index: 30;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  justify-content: center;
}
.main-nav a {
  font-weight: 700;
  font-size: 1rem;
  color: #19334D;
  transition: color 0.18s;
  padding: 10px 12px;
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #AAC44B;
  background: #f5f6f0;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
.cta-primary {
  background: #AAC44B;
  color: #19334D !important;
  font-weight: 900;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 12px;
  padding: 12px 30px;
  box-shadow: 0 6px 24px 0 rgba(160,200,64,0.11);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-block;
  font-size: 1.1rem;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #19334D;
  color: #fff !important;
  box-shadow: 0 9px 30px 0 rgba(25,51,77,0.17);
}

/* MOBILE MENU ------------- */
.mobile-menu-toggle {
  display: none;
  background: #AAC44B;
  color: #19334D;
  font-size: 2.1rem;
  border-radius: 10px;
  border: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 102;
  box-shadow: 0 4px 20px 0 rgba(170,196,75,0.07);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #19334D;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #19334D;
  color: #fff;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 200;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 0 0 100vw rgba(25,51,77,0.16);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  color: #AAC44B;
  background: transparent;
  font-size: 2.4rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: transparent;
  padding: 14px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #AAC44B;
  color: #19334D;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 22px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .hero {
    padding: 46px 0;
    border-radius: 0 0 18px 18px;
  }
  .cta-section {
    padding: 26px 0;
    border-radius: 18px;
  }
}

/* GEOMETRIC VISUAL ELEMENTS ------------- */
.section, .hero, .cta-section, .card, .content-card,.testimonial-card {
  border-radius: 18px;
  /* For geometric modern look */
}

/* BUTTONS ------------- */
button, .button, .btn, .cta-primary {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px;
  transition: background 0.22s, box-shadow 0.18s;
}
.btn, .button {
  background: #19334D;
  color: #fff;
  padding: 11px 24px;
  margin-right: 12px;
  margin-bottom: 8px;
}
.btn:hover, .button:hover {
  background: #AAC44B;
  color: #19334D;
  box-shadow: 0 8px 24px 0 rgba(170,196,75,0.10);
}

/* GLOBAL SPACING ------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid {
  gap: 24px;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}

/* LISTS ------------- */
ul {
  list-style: disc inside;
  margin-left: 0;
  margin-bottom: 16px;
}
ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1rem;
}

/* TABLES (simple) ------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #d7dbe0;
  text-align: left;
}
th {
  background: #f5f6f0;
  font-weight: 800;
  color: #19334D;
}

/* FOOTER ------------- */
footer {
  background: #19334D;
  color: #fff;
  padding: 36px 0 24px 0;
  margin-top: 60px;
}
footer nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 18px;
}
footer nav a {
  color: #AAC44B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover {
  background: #AAC44B;
  color: #19334D;
}
footer .brand-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
footer .brand-info img {
  width: 50px;
  height: 50px;
}
footer .brand-info div {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #fff;
}
footer .brand-info strong {
  color: #fff;
}
footer .social-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 18px;
}
footer .social-links a img {
  width: 24px;
  height: 24px;
  filter: brightness(1.2);
  transition: filter 0.16s;
}
footer .social-links a:hover img {
  filter: brightness(0.7);
}

@media (max-width: 600px) {
  section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
  .card, .testimonial-card {
    padding: 18px 8px;
  }
  footer .brand-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* INTERACTIVE STATES & TRANSITIONS ------------- */
a, .cta-primary, .button, button, .mobile-nav a {
  transition: background 0.15s, color 0.16s, box-shadow 0.18s;
}

/* COOKIE CONSENT BANNER ------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #19334D;
  color: #fff;
  z-index: 9999;
  width: 100vw;
  padding: 26px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 20px 0 rgba(25,51,77,0.14);
  transition: transform 0.27s cubic-bezier(.7,0,.2,1);
  transform: translateY(0%);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-message {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.09rem;
  margin-bottom: 16px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin: 0 4px;
  transition: background 0.15s, color 0.14s, box-shadow 0.15s;
}
.cookie-banner .cookie-btn.accept {
  background: #AAC44B;
  color: #19334D;
}
.cookie-banner .cookie-btn.accept:hover {
  background: #fff;
  color: #19334D;
}
.cookie-banner .cookie-btn.reject {
  background: #f44336;
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #7b1919;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #19334D;
  border: 2px solid #AAC44B;
  color: #AAC44B;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #AAC44B;
  color: #19334D;
}

/* COOKIE PREFERENCE MODAL ------------- */
.cookie-modal-overlay {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,51,77,0.39);
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s, visibility 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal {
  background: #fff;
  color: #19334D;
  border-radius: 18px;
  max-width: 90vw;
  width: 415px;
  padding: 40px 32px 26px 32px;
  box-shadow: 0 12px 42px rgba(25,51,77,0.18);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.29s cubic-bezier(.45,.02,.23,1.1);
}
@keyframes cookieModalIn {
  from { transform: translateY(120px) scale(0.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.cookie-toggle {
  margin-left: auto;
  accent-color: #AAC44B;
  width: 20px;
  height: 20px;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: #19334D;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 1.7rem;
  position: absolute;
  top: 12px;
  right: 15px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover { color: #AAC44B; }

@media (max-width: 450px) {
  .cookie-modal {
    padding: 19px 8px 16px 8px;
    min-width: 0;
    width: 99vw;
  }
}

/* RESPONSIVENESS & FLEXBOX LAYOUTS ------------- */
@media (max-width: 1100px) {
  .container {
    max-width: 92vw;
    padding: 0 9px;
  }
}
@media (max-width: 840px) {
  .content-wrapper, .card-container, .content-grid, .testimonial-card, .section, .feature-item, .brand-info, .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .cta-primary { font-size: 1rem; padding: 12px 18px; }
  .testimonial-card, .card {
    padding: 12px 4px;
  }
  .section, section {
    padding: 12px 2px;
  }
  .content-wrapper {
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .brand-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-details {
    gap: 8px;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.4rem;}
  h2 {font-size:1.08rem;}
  .cta-primary, .btn, .button {
    font-size: .98rem;
    padding: 9px 10px;
  }
}

/* MICRO-INTERACTIONS & SHADOWS ------------- */
.card, .testimonial-card, .cta-section, .hero {
  box-shadow: 0 1px 20px 0 rgba(25, 51, 77, 0.07), 0 0px 1.5px 0 rgba(25, 51, 77, 0.03);
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .testimonial-card:hover, .cta-section:hover {
  box-shadow: 0 8px 32px 0 rgba(170,196,75,0.12), 0 1.5px 20px 0 rgba(25, 51, 77, 0.10);
  transform: translateY(-4px) scale(1.015);
}
button:active, .cta-primary:active {
  filter: brightness(.92);
  transform: scale(0.98);
}

/* UTILITIES */
.text-center { text-align: center; }
.align-center { align-items: center; justify-content: center; }
.mt-32 { margin-top: 32px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.bg-primary { background: #19334D !important; color: #fff !important; }
.bg-secondary { background: #AAC44B !important; color: #19334D !important; }
.bg-accent { background: #F0EFEA !important; color: #19334D !important; }

/* OVERRIDES FOR HIGH CONTRAST IN TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #19334D;
  border-left: 6px solid #AAC44B;
}
.testimonial-card p, .testimonial-card span {
  color: #19334D;
}

/* FORMS (if present in other pages in the future) */
input, textarea, select {
  border: 1.5px solid #AAC44B;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: #fff;
  color: #19334D;
  width: 100%;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #19334D;
}

/* HIDE SCROLL ON MOBILE-MENU OPEN */
body.menu-open {
  overflow: hidden;
}

/* GENERAL: Avoid grid/columns/absolute for structural content. NO grid, columns. */
/* All layout is handled with display: flex or flex-wrap as required above. */