/* ----------------------- 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,
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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #10131a;
  color: #F5F3EE;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #8B945B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5F3EE;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.2; letter-spacing: 0.015em; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.4rem; line-height: 1.3; margin-bottom: 10px; }
h4 { font-size: 1.15rem; }
p, li, table, th, td, blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e9ecef;
}
strong { color: #F5F3EE; font-weight: 700; }
img, svg { max-width: 100%; display: block; }
table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
th, td { border-bottom: 1px solid #2a3552; padding: 12px; }

/* --------------------- CORE LAYOUT CONTAINERS & SPACING --------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #192133;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(20,28,48,0.18);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(139,148,91,0.20), 0 2px 8px 0 rgba(20,28,48,0.08);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: #F5F3EE;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f5f3ee3d;
  color: #222e39;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(35,61,77,0.12);
  border-left: 5px solid #8B945B;
  max-width: 570px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 4px 20px 0 rgba(35,61,77,0.18);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Additional utility sections */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.benefits-grid > div {
  background: #192133;
  border-radius: 14px;
  padding: 24px;
  flex: 1 1 220px;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px 0 rgba(35,61,77,0.09);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #192133;
  border-radius: 18px;
  padding: 30px 22px 22px 22px;
  flex: 1 1 200px;
  min-width: 230px;
  min-height: 210px;
  box-shadow: 0 2px 14px 0 rgba(139,148,91,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 5px 18px 0 rgba(139,148,91,0.19);
}

/* -------------------- BRANDING & TYPOGRAPHY ----------------------------- */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: radial-gradient(ellipse at top left, #233D4D 65%, #172337 100%) no-repeat #10131a;
}

::-webkit-selection { background: #8B945B; color: #fff; }
::selection { background: #8B945B; color: #fff; }

/* -------------------- HEADER & NAVIGATIONS ------------------------------ */
header {
  background: #192133;
  padding: 0 0 0 0;
  border-bottom: 1px solid #262f45;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 18px 0;
  gap: 24px;
  position: relative;
}
.main-nav a img {
  width: 148px;
  margin-right: 22px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  align-items: center;
  margin-left: 8px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #F5F3EE;
  padding: 10px 14px;
  border-radius: 9px;
  transition: background 0.14s, color 0.14s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #293C53;
  color: #8B945B;
}
/* CTA Button in Nav */
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  color: #233D4D;
  background: #8B945B;
  border-radius: 28px;
  padding: 13px 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  transition: background .18s, color .18s, box-shadow .18s;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(139,148,91,0.07);
  text-shadow: 0 1px 4px #fff1,0 1px 1px #233D4D1a;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff;
  color: #8B945B;
  box-shadow: 0 4px 22px 0 rgba(139,148,91,0.21);
}
.cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border: 2px solid #8B945B;
  color: #8B945B;
  border-radius: 28px;
  padding: 12px 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 18px;
  transition: background .17s, color .17s, border .2s;
  cursor: pointer;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  color: #233D4D;
  background: #8B945B;
  border-color: #fff;
}

/* --------------------- HERO SECTIONS & CONTENT STYLES ------------------- */
.hero {
  width: 100%;
  background: linear-gradient(112deg,#233D4D 78%, #8B945B 155%) no-repeat;
  padding: 56px 0 42px 0;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  box-shadow: 0 4px 40px rgba(35,61,77,0.09);
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  text-shadow: 0 1px 12px #15183077;
}
.hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.23rem;
  color: #F5F3EE;
  margin-bottom: 12px;
}

/* --------------------- FOOTER STYLES -------------------------------------- */
footer {
  margin-top: 48px;
  padding: 52px 0 35px 0;
  background: #192133;
  color: #a1afc7;
  border-top: 1px solid #293C53;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #8B945B;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: 0.015em;
  padding: 7px 11px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #222e39;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.98rem;
  background: #192133;
  margin-bottom: 17px;
  color: #b2bace;
  padding: 6px 0;
}
.footer-branding {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-branding img {
  width: 52px;
  margin-bottom: 2px;
}
.footer-branding span {
  font-size: 0.97rem;
  color: #58637b;
  text-align: center;
  letter-spacing: 0.013em;
}

/* --------------------- TABLE, BLOCKQUOTE, OTHER STYLES ------------------- */
blockquote {
  background: #28384d;
  color: #fff;
  border-left: 5px solid #8B945B;
  padding: 24px 34px;
  margin: 12px 0;
  border-radius: 16px;
  font-size: 1.18rem;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 12px 0 rgba(139,148,91,0.06);
}
hr {
  border: none;
  height: 1px;
  background: #2a3552;
  margin: 32px 0 20px 0;
}

/* --------------------- BUTTONS & MICRO-INTERACTIONS --------------------- */
button, .cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .18s, border .17s;
}
button:active { transform: scale(.98); }

/* ---------------------- FORMS (if any appear) --------------------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #222e39;
  color: #F5F3EE;
  border-radius: 8px;
  border: 1px solid #8B945B88;
  font-size: 1rem;
  padding: 11px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #8B945B;
  box-shadow: 0 0 0 2px #8B945B44;
}

/* ------------------- MOBILE NAVIGATION HAMBURGER MENU ------------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #8B945B;
  font-size: 2.1rem;
  position: absolute;
  top: 24px;
  right: 34px;
  display: none;
  z-index: 1020;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 7px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #F5F3EE;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #19303fEE;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.33,1,.68,1), box-shadow .22s;
  box-shadow: 0 8px 50px 0 rgba(35,61,77,0.33);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 54px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F5F3EE;
  z-index: 2200;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #8B945B;
  color: #233D4D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 62px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F3EE;
  padding: 15px 44px;
  border-radius: 15px;
  margin: 0 24px;
  background: none;
  text-align: center;
  transition: background 0.13s, color 0.13s;
  width: 85vw;
  max-width: 400px;
  font-weight: 600;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8B945B;
  color: #233D4D;
}
@media (max-width: 1020px) {
  .main-nav ul {
    gap: 12px;
  }
  .main-nav a img {
    width: 112px;
  }
}
@media (max-width: 900px) {
  .main-nav ul { display: none; }
  .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 768px) {
  .main-nav {
    flex-direction: row;
  }
  .main-nav ul {
    gap: 8px;
  }
  .hero { padding: 33px 0 22px 0; border-radius: 0 0 32px 32px; }
  .section {
    padding: 22px 8px;
    margin-bottom: 38px;
  }
  .feature-grid { gap: 18px; }
  .benefits-grid { gap: 11px; }
}

/* ------------------- RESPONSIVE DESIGN LAYOUT (FLEXBOX) ------------------- */
@media (max-width: 980px) {
  .content-grid, .feature-grid, .benefits-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding: 0 4vw;
  }
  .content-wrapper {
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .card-content {
    padding: 16px;
  }
  .hero .content-wrapper {
    gap: 16px;
  }
}

/* ------------------- COOKIE CONSENT BANNER & MODAL ------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #222e39;
  color: #fff;
  z-index: 9000;
  box-shadow: 0 -7px 32px 0 #17233755;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 28px 10vw 22px 10vw;
  gap: 40px;
  font-size: 1.06rem;
  transition: transform .45s cubic-bezier(.36,1,.32,1);
}
.cookie-banner[aria-hidden="true"] {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #8B945B;
  color: #233D4D;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 22px;
  margin: 0 1px;
  transition: background .15s, color .13s, box-shadow .15s;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 #8B945B18;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #fff;
  color: #8B945B;
  box-shadow: 0 2px 20px 0 #8B945B33;
}
.cookie-btn.secondary {
  background: #233D4D;
  color: #8B945B;
  border: 2px solid #8B945B;
}
.cookie-btn.secondary:focus, .cookie-btn.secondary:hover {
  background: #8B945B;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; padding: 22px 6vw 18px 6vw; gap: 20px; font-size: 0.98rem; }
}
/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10999;
  background: rgba(35,61,77,0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: #F5F3EE;
  color: #233D4D;
  border-radius: 22px;
  box-shadow: 0 7px 44px 0 #19213333, 0 8px 32px 0 #8B945B11;
  padding: 38px 20px 20px 20px;
  width: 94vw;
  max-width: 470px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  color: #233D4D;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  cursor: pointer;
  transition: color .15s, background .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
  background: #8B945B;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8B945B;
  width: 22px; height: 22px;
  margin-bottom: 0;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: #233D4D;
}
.cookie-category .always-on {
  color: #8B945B;
  font-size: 0.8rem;
  margin-left: 8px;
  font-weight: 700;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  margin-top: 12px;
  min-width: 130px;
}
@media (max-width: 500px) {
  .cookie-modal-content { padding: 22px 5vw 15px 5vw; }
}

/* ------------------- MICROINTERACTIONS (Subtle Animations) -------------- */
a, button, .cta-primary, .cta-secondary, .feature-grid > div, .card {
  transition: background .18s, color .13s, box-shadow .17s, border-color .17s, transform .13s;
}
.card:hover, .feature-grid > div:hover {
  transform: translateY(-2px) scale(1.018);
}

/* ------------------- SPECIAL COMPONENTS (Benefits/Icons etc) ------------- */
.feature-grid img,
.benefits-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  filter: drop-shadow(0 5px 10px #233D4D44);
}
.feature-grid h3, .benefits-grid strong {
  color: #8B945B;
  font-size: 1.13rem;
}
.benefits-grid strong { font-size: 1.1rem; }

/* ------------------- VISUAL DIVIDERS/PATTERNS ---------------------------- */
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px;
    border-radius: 13px;
    font-size: 0.96rem;
  }
  .feature-grid > div, .benefits-grid > div {
    padding: 14px 10px 14px 10px;
    border-radius: 11px;
  }
}

/* ------------------- ADDITIONAL ACCESSIBILITY & INTERACTION -------------- */
*:focus-visible {
  outline: 2px solid #8B945B;
  outline-offset: 2px;
}

/* ------------------- PAGE SPECIFIC (optional selectors) ------------------ */
.hero .cta-primary { margin-top: 18px; }

/* Because .section is used liberally, ensure min spacing */
.section > *,
.container > .content-wrapper > *,
.content-wrapper > * {
  margin-bottom: 20px;
}
.section > *:last-child,
.container > .content-wrapper > *:last-child,
.content-wrapper > *:last-child {
  margin-bottom: 0;
}
section {
  padding: 20px 0;
}
/* --------------------------------------------------- */
/* END OF STYLES */
